diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | package.json | 12 | ||||
-rw-r--r-- | src/assets/icons/512x512.png | bin | 0 -> 137107 bytes | |||
-rw-r--r-- | src/assets/icons/icon.ico | bin | 0 -> 201799 bytes | |||
-rw-r--r-- | src/index.js | 1 |
5 files changed, 16 insertions, 1 deletions
@@ -31,3 +31,7 @@ Currently Viper is capable of: * Be pretty! Besides this I've been considering adding some easy to use VPK modding tools so everybody can have fun with VPK modding even if you don't know how to do it the traditional way. However that is not at the top of the todo list right now. + +## Credits + +All credits for logos go to Imply#9781.
\ No newline at end of file diff --git a/package.json b/package.json index d730940..5e19ef4 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,17 @@ "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" + }, + "nsis": { + "installerIcon": "icon.ico", + "uninstallerIcon": "icon.ico", + "installerHeaderIcon": "icon.ico" + } + }, "scripts": { "start": "npx electron src/index.js", "debug": "npx electron src/index.js --debug", diff --git a/src/assets/icons/512x512.png b/src/assets/icons/512x512.png Binary files differnew file mode 100644 index 0000000..281f3dd --- /dev/null +++ b/src/assets/icons/512x512.png diff --git a/src/assets/icons/icon.ico b/src/assets/icons/icon.ico Binary files differnew file mode 100644 index 0000000..32df0c5 --- /dev/null +++ b/src/assets/icons/icon.ico diff --git a/src/index.js b/src/index.js index 639cbeb..b41971d 100644 --- a/src/index.js +++ b/src/index.js @@ -17,6 +17,7 @@ function start() { title: "Viper", resizable: false, titleBarStyle: "hidden", + icon: path.join(__dirname, 'assets/icons/512x512.png'), webPreferences: { nodeIntegration: true, contextIsolation: false, |