postcat/scripts/urlProtoco.nsh
Scarqin a51feb0311
feat/ui-component (#188)
* feat: update extension UI
* fix(components): [manage-access] a tag rename to span
* feat: update e2e

Co-authored-by: buqiyuan <1743369777@qq.com>
Co-authored-by: 夜鹰 <17kungfuboy@gmail.com>
2022-12-30 23:46:51 +08:00

10 lines
378 B
Plaintext

!macro customInstall
DetailPrint "Register postcat URI Handler"
DeleteRegKey HKCR "postcat"
WriteRegStr HKCR "postcat" "" "URL:postcat"
WriteRegStr HKCR "postcat" "URL Protocol" ""
WriteRegStr HKCR "postcat\shell" "" ""
WriteRegStr HKCR "postcat\shell\Open" "" ""
WriteRegStr HKCR "postcat\shell\Open\command" "" "$INSTDIR\${APP_EXECUTABLE_FILENAME} %1"
!macroend