diff --git a/desktopApp/assets/icon/Robosats.icns b/desktopApp/assets/icon/Robosats.icns new file mode 100644 index 00000000..128ad5e7 Binary files /dev/null and b/desktopApp/assets/icon/Robosats.icns differ diff --git a/desktopApp/assets/icon/Robosats.ico b/desktopApp/assets/icon/Robosats.ico new file mode 100644 index 00000000..01f7c38f Binary files /dev/null and b/desktopApp/assets/icon/Robosats.ico differ diff --git a/desktopApp/assets/icon/Robosats.svg b/desktopApp/assets/icon/Robosats.svg new file mode 100644 index 00000000..4411f93c --- /dev/null +++ b/desktopApp/assets/icon/Robosats.svg @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/desktopApp/index.ts b/desktopApp/index.ts index 49fca3ea..b224320d 100644 --- a/desktopApp/index.ts +++ b/desktopApp/index.ts @@ -48,7 +48,7 @@ function createWindow(): void { const mainWindow = new BrowserWindow({ width: 1200, height: 800, - icon:path.join(__dirname, 'static/assets/images/favicon-32x32.png'), + icon:path.join(__dirname, '/static/assets/images/favicon-32x32.png'), webPreferences: { nodeIntegration: false, // Disable Node.js integration in the renderer contextIsolation: true, // Enable context isolation for security diff --git a/desktopApp/package.json b/desktopApp/package.json index 9ecc7403..07e5261f 100644 --- a/desktopApp/package.json +++ b/desktopApp/package.json @@ -1,5 +1,5 @@ { - "name": "desktop-app", + "name": "Robosats", "version": "1.0.0", "description": "", "main": "index.js", @@ -7,9 +7,9 @@ "start": "electron .", "compile": "./node_modules/.bin/tsc", "test": "echo \"Error: no test specified\" && exit 1", - "package:linux": "npx @electron/packager . Robosats --platform=linux --arch=x64 --overwrite to force --out=release-builds", - "package-win": "npx @electron/packager . Robosats --platform=win32 --arch=ia32 --icon=./static/assets/images/favicon-96x96.png --overwrite --out=release-builds", - "package-mac": "npx @electron/packager . Robosats --platform=darwin --arch=x64 --icon=./static/assets/images/favicon-96x96.png --overwrite --out=release-builds" + "package-linux": "npx @electron/packager . Robosats --platform=linux --arch=x64 --icon=./assets/icon/Robosats.svg --overwrite --out=release-builds", + "package-win": "npx @electron/packager . Robosats --platform=win32 --arch=ia32 --icon=./assets/icon/Robosats.ico --overwrite --out=release-builds", + "package-mac": "npx @electron/packager . Robosats --platform=darwin --arch=x64 --icon=./assets/icon/Robosats.icns --overwrite --out=release-builds" }, "author": "", "license": "ISC",