diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | package.json | 7 | ||||
-rw-r--r-- | src/assets/icons/512x512.png | bin | 0 -> 137107 bytes | |||
-rw-r--r-- | src/index.js | 1 |
4 files changed, 11 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..b852d36 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", "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/index.js b/src/index.js index 4e64414..3d50cee 100644 --- a/src/index.js +++ b/src/index.js @@ -16,6 +16,7 @@ function start() { title: "Viper", resizable: false, titleBarStyle: "hidden", + icon: path.join(__dirname, 'assets/icons/512x512.png'), webPreferences: { nodeIntegration: true, contextIsolation: false, |