Skip to content

Commit 771054e

Browse files
committed
Synthesis App Icon
1 parent e4c221e commit 771054e

File tree

6 files changed

+9
-4
lines changed

6 files changed

+9
-4
lines changed

fission/forge.config.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,20 @@ import { MakerRpm } from "@electron-forge/maker-rpm"
66
import { VitePlugin } from "@electron-forge/plugin-vite"
77
import { FusesPlugin } from "@electron-forge/plugin-fuses"
88
import { FuseV1Options, FuseVersion } from "@electron/fuses"
9+
import path from "path"
910

1011
const config: ForgeConfig = {
1112
packagerConfig: {
1213
asar: true,
13-
name: "Synthesis Fission",
14-
executableName: "synthesis-fission",
14+
name: "Synthesis",
15+
executableName: "Synthesis",
16+
icon: path.resolve(__dirname, "src/assets/icons/synthesis-logo"),
1517
},
1618
rebuildConfig: {},
1719
makers: [
18-
new MakerSquirrel({}),
20+
new MakerSquirrel({
21+
setupIcon: path.resolve(__dirname, "src/assets/icons/synthesis-logo.ico"),
22+
}),
1923
new MakerZIP({}, ["darwin"]),
2024
new MakerRpm({}),
2125
new MakerDeb({}),

fission/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"main": ".vite/build/main.cjs",
77
"author": "Autodesk",
8-
"description": "Synthesis Fission",
8+
"description": "Synthesis",
99
"scripts": {
1010
"init": "(bun run assetpack && bun run playwright:install) || (npm run assetpack && npm run playwright:install)",
1111
"host": "vite --open --host",
87.3 KB
Binary file not shown.
169 KB
Binary file not shown.
16.7 KB
Loading

fission/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const createWindow = () => {
1919
nodeIntegration: false,
2020
contextIsolation: true,
2121
},
22+
icon: path.resolve(__dirname, "assets/icons/synthesis-logo.png"),
2223
})
2324

2425
// and load the index.html of the app.

0 commit comments

Comments
 (0)