From c437df2593cf7d00a27219456cdf23a090f6027d Mon Sep 17 00:00:00 2001 From: Alystrasz Date: Tue, 28 Dec 2021 12:08:55 +0100 Subject: [chore] setting resources folder in build configuration --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'package.json') 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" -- cgit v1.2.3 From dcbdadbe3568beca429b0df5caf96156ee43f474 Mon Sep 17 00:00:00 2001 From: Alystrasz Date: Wed, 29 Dec 2021 00:26:48 +0100 Subject: [feat] logo displays correctly on Windows build --- package.json | 5 +++++ src/assets/icons/icon.ico | Bin 0 -> 201799 bytes 2 files changed, 5 insertions(+) create mode 100644 src/assets/icons/icon.ico (limited to 'package.json') diff --git a/package.json b/package.json index b852d36..5e19ef4 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,11 @@ "appId": "com.0negal.viper", "directories": { "buildResources": "src/assets/icons" + }, + "nsis": { + "installerIcon": "icon.ico", + "uninstallerIcon": "icon.ico", + "installerHeaderIcon": "icon.ico" } }, "scripts": { diff --git a/src/assets/icons/icon.ico b/src/assets/icons/icon.ico new file mode 100644 index 0000000..32df0c5 Binary files /dev/null and b/src/assets/icons/icon.ico differ -- cgit v1.2.3