Skip to content

Commit

Permalink
fix: Splashscreen logo broken in build (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-fisher authored Sep 27, 2024
1 parent 3796bc6 commit f454324
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const config: ForgeConfig = {
'./resources/group_snippet.js',
'./resources/checks_snippet.js',
'./resources/splashscreen.html',
'./resources/logo-splashscreen-dark.svg',
'./resources/logo-splashscreen.svg',
'./resources/' + getPlatform() + '/' + getArch(),
],
osxSign: {
Expand Down
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions resources/splashscreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
<body>
<div id="splashscreen">
<picture>
<source srcset="../src/assets/logo-splashscreen-dark.svg" media="(prefers-color-scheme: dark)">
<img src="../src/assets/logo-splashscreen.svg" alt="k6 Studio" width="100px" />
<source srcset="./logo-splashscreen-dark.svg" media="(prefers-color-scheme: dark)">
<img src="./logo-splashscreen.svg" alt="k6 Studio" width="100px" />
</picture>
<div id="splashscreen-message">
<p>Initialising the app and making magic happen</p>
Expand Down

0 comments on commit f454324

Please sign in to comment.