diff options
-rw-r--r-- | package.json | 7 | ||||
-rw-r--r-- | src/index.js | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/package.json b/package.json index 522a4a5..1de4f77 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,12 @@ "version": "1.0.0", "description": "Launcher+Updater for TF|2 Northstar", "main": "src/index.js", - "build": {"appId": "com.0negal.viper"}, + "build": { + "appId": "com.0negal.viper", + "directories": { + "buildResources": "src/assets/icons" + } + }, "scripts": { "start": "npx electron src/index.js", "build": "npx electron-builder --win nsis --linux appimage" diff --git a/src/index.js b/src/index.js index ffb4bd7..4df7d91 100644 --- a/src/index.js +++ b/src/index.js @@ -16,7 +16,7 @@ function start() { title: "Viper", resizable: false, titleBarStyle: "hidden", - icon: path.join(__dirname, 'assets/icons/northstarCN_icon.png'), + icon: path.join(__dirname, 'assets/icons/icon.png'), webPreferences: { nodeIntegration: true, contextIsolation: false, |