diff --git a/forge.config.ts b/forge.config.ts index 12ff35e..54c2b3f 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -45,6 +45,20 @@ const config: ForgeConfig = { for (const moduleName of nativeModules) { copyModuleRecursive(moduleName); } + + // Copy assets to resources folder + const assetsSrc = path.join(process.cwd(), 'src', 'assets'); + const assetsDest = path.join(buildPath, 'resources', 'assets'); + + if (fs.existsSync(assetsSrc)) { + if (!fs.existsSync(assetsDest)) { + fs.mkdirSync(assetsDest, { recursive: true }); + } + fs.cpSync(assetsSrc, assetsDest, { recursive: true }); + console.log(`Copied assets from ${assetsSrc} to ${assetsDest}`); + } else { + console.warn(`Assets directory not found: ${assetsSrc}`); + } }, }, makers: [new MakerSquirrel({}), new MakerZIP({}, ['darwin']), new MakerRpm({}), new MakerDeb({})], diff --git a/images/128x128.png b/images/128x128.png new file mode 100644 index 0000000..5922c51 Binary files /dev/null and b/images/128x128.png differ diff --git a/images/128x128@2x.png b/images/128x128@2x.png new file mode 100644 index 0000000..d9d0a75 Binary files /dev/null and b/images/128x128@2x.png differ diff --git a/images/32x32.png b/images/32x32.png new file mode 100644 index 0000000..1e1386d Binary files /dev/null and b/images/32x32.png differ diff --git a/images/64x64.png b/images/64x64.png new file mode 100644 index 0000000..dbd05a3 Binary files /dev/null and b/images/64x64.png differ diff --git a/images/app.icns b/images/app.icns new file mode 100644 index 0000000..08b50a0 Binary files /dev/null and b/images/app.icns differ diff --git a/images/app.ico b/images/app.ico new file mode 100644 index 0000000..2d0ebbc Binary files /dev/null and b/images/app.ico differ diff --git a/images/favicon-120.png b/images/favicon-120.png new file mode 100644 index 0000000..0a6de8c Binary files /dev/null and b/images/favicon-120.png differ diff --git a/images/favicon-128.png b/images/favicon-128.png new file mode 100644 index 0000000..266ed89 Binary files /dev/null and b/images/favicon-128.png differ diff --git a/images/favicon-144.png b/images/favicon-144.png new file mode 100644 index 0000000..c3998f7 Binary files /dev/null and b/images/favicon-144.png differ diff --git a/images/favicon-152.png b/images/favicon-152.png new file mode 100644 index 0000000..3fc8efc Binary files /dev/null and b/images/favicon-152.png differ diff --git a/images/favicon-195.png b/images/favicon-195.png new file mode 100644 index 0000000..096bf41 Binary files /dev/null and b/images/favicon-195.png differ diff --git a/images/favicon-228.png b/images/favicon-228.png new file mode 100644 index 0000000..f7b94b5 Binary files /dev/null and b/images/favicon-228.png differ diff --git a/images/favicon-32.png b/images/favicon-32.png new file mode 100644 index 0000000..ad478c6 Binary files /dev/null and b/images/favicon-32.png differ diff --git a/images/favicon-57.png b/images/favicon-57.png new file mode 100644 index 0000000..69c1584 Binary files /dev/null and b/images/favicon-57.png differ diff --git a/images/favicon-72.png b/images/favicon-72.png new file mode 100644 index 0000000..6561ddc Binary files /dev/null and b/images/favicon-72.png differ diff --git a/images/favicon-96.png b/images/favicon-96.png new file mode 100644 index 0000000..caac485 Binary files /dev/null and b/images/favicon-96.png differ diff --git a/images/favicon.ico b/images/favicon.ico new file mode 100644 index 0000000..419e4e8 Binary files /dev/null and b/images/favicon.ico differ diff --git a/images/icon.icns b/images/icon.icns new file mode 100644 index 0000000..08b50a0 Binary files /dev/null and b/images/icon.icns differ diff --git a/images/icon.ico b/images/icon.ico new file mode 100644 index 0000000..2d0ebbc Binary files /dev/null and b/images/icon.ico differ diff --git a/images/icon.png b/images/icon.png new file mode 100644 index 0000000..ceb4935 Binary files /dev/null and b/images/icon.png differ diff --git a/images/tray.png b/images/tray.png new file mode 100644 index 0000000..f3f57e9 Binary files /dev/null and b/images/tray.png differ diff --git a/src/assets/icon.png b/src/assets/icon.png index 5999a66..ceb4935 100644 Binary files a/src/assets/icon.png and b/src/assets/icon.png differ diff --git a/src/assets/tray.png b/src/assets/tray.png index 5999a66..f3f57e9 100644 Binary files a/src/assets/tray.png and b/src/assets/tray.png differ