mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
2 new things (Read desc.) (#159)
- Cleaned up ASAR packaging, ignoring unneeded files for building - Moved install location for Windows users ("AppData\Local\Programs" -> "AppData\Local"
This commit is contained in:
parent
408c4b5f7b
commit
cb69a35dd6
2 changed files with 19 additions and 0 deletions
8
build/installer.nsh
Normal file
8
build/installer.nsh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
!macro preInit
|
||||||
|
SetRegView 64
|
||||||
|
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$LocalAppData\ArmCord"
|
||||||
|
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$LocalAppData\ArmCord"
|
||||||
|
SetRegView 32
|
||||||
|
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$LocalAppData\ArmCord"
|
||||||
|
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$LocalAppData\ArmCord"
|
||||||
|
!macroend
|
11
package.json
11
package.json
|
@ -40,6 +40,17 @@
|
||||||
"ws": "^8.8.0"
|
"ws": "^8.8.0"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
|
"nsis": {
|
||||||
|
"include": "build/installer.nsh"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"!*",
|
||||||
|
"assets",
|
||||||
|
"node_modules",
|
||||||
|
"ts-out",
|
||||||
|
"package.json",
|
||||||
|
"LICENSE"
|
||||||
|
],
|
||||||
"appId": "com.smartfridge.armcord",
|
"appId": "com.smartfridge.armcord",
|
||||||
"productName": "ArmCord",
|
"productName": "ArmCord",
|
||||||
"mac": {
|
"mac": {
|
||||||
|
|
Loading…
Reference in a new issue