feat(installer): add custom install and uninstall macros for Shengxintui protocol
Desktop Client Build / Resolve Build Metadata (push) Successful in 30s
Frontend CI / Frontend (push) Successful in 3m53s
Backend CI / Backend (push) Failing after 11m8s
Desktop Client Build / Build Desktop Client (push) Successful in 26m32s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 54s
Desktop Client Build / Resolve Build Metadata (push) Successful in 30s
Frontend CI / Frontend (push) Successful in 3m53s
Backend CI / Backend (push) Failing after 11m8s
Desktop Client Build / Build Desktop Client (push) Successful in 26m32s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 54s
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
!macro customInstall
|
||||||
|
WriteRegStr SHELL_CONTEXT "Software\Classes\shengxintui" "" "URL:Shengxintui Protocol"
|
||||||
|
WriteRegStr SHELL_CONTEXT "Software\Classes\shengxintui" "URL Protocol" ""
|
||||||
|
WriteRegStr SHELL_CONTEXT "Software\Classes\shengxintui\DefaultIcon" "" "$appExe,0"
|
||||||
|
WriteRegStr SHELL_CONTEXT "Software\Classes\shengxintui\shell" "" "open"
|
||||||
|
WriteRegStr SHELL_CONTEXT "Software\Classes\shengxintui\shell\open" "" "Open"
|
||||||
|
WriteRegStr SHELL_CONTEXT "Software\Classes\shengxintui\shell\open\command" "" `"$appExe" "%1"`
|
||||||
|
!macroend
|
||||||
|
|
||||||
|
!macro customUnInstall
|
||||||
|
DeleteRegKey SHELL_CONTEXT "Software\Classes\shengxintui"
|
||||||
|
!macroend
|
||||||
@@ -76,6 +76,7 @@ nsis:
|
|||||||
oneClick: false
|
oneClick: false
|
||||||
perMachine: false
|
perMachine: false
|
||||||
allowToChangeInstallationDirectory: true
|
allowToChangeInstallationDirectory: true
|
||||||
|
include: build/installer.nsh
|
||||||
linux:
|
linux:
|
||||||
category: Office
|
category: Office
|
||||||
target:
|
target:
|
||||||
|
|||||||
Reference in New Issue
Block a user