Skip to content

Commit

Permalink
Change desktop icon for dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wec43 authored and rezbyte committed Aug 6, 2024
1 parent 278359a commit 3960045
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildSrc/DevBuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ globalThis.buildOptions.sqliteNativePath = "./better-sqlite3.node";`,
await runStep("Desktop: assets", async () => {
const desktopIconsPath = "./resources/desktop-icons"
await fs.copy(desktopIconsPath, `./${buildDir}/desktop/resources/icons`, { overwrite: true })
await fs.move(`./${buildDir}/desktop/resources/icons/logo-solo-dev.png`, `./${buildDir}/desktop/resources/icons/logo-solo-red.png`, { overwrite: true })
await fs.move(`./${buildDir}/desktop/resources/icons/logo-solo-dev-small.png`, `./${buildDir}/desktop/resources/icons/logo-solo-red-small.png`, {
overwrite: true,
})
const templateGenerator = (await import("./electron-package-json-template.js")).default
const packageJSON = await templateGenerator({
nameSuffix: "-debug",
Expand Down
Binary file added resources/desktop-icons/logo-solo-dev-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/desktop-icons/logo-solo-dev.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3960045

Please sign in to comment.