diff options
author | 0neGal <mail@0negal.com> | 2021-12-30 00:35:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 00:35:58 +0100 |
commit | 25c6b17830dc161e58cd8055083e21268f035b39 (patch) | |
tree | 4ecc6f86bc9614d09497619781d5cff978da954d | |
parent | fabfee3a0b845a9b58dbb59932228d6c4223aad3 (diff) | |
parent | dcbdadbe3568beca429b0df5caf96156ee43f474 (diff) | |
download | Viper-25c6b17830dc161e58cd8055083e21268f035b39.tar.gz Viper-25c6b17830dc161e58cd8055083e21268f035b39.zip |
Merge pull request #2 from Alystrasz/feat/icon
feat: Icons
-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 aacfe27..8343ba9 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, |