Added url handler for curseforge
Signed-off-by: timoreo <contact@timoreo.fr>
This commit is contained in:
@ -294,6 +294,10 @@ Section "@Launcher_DisplayName@"
|
||||
; Write the installation path into the registry
|
||||
WriteRegStr HKCU Software\@Launcher_CommonName@ "InstallDir" "$INSTDIR"
|
||||
|
||||
; Write the URL Handler into registry for curseforge
|
||||
WriteRegStr HKCU Software\Classes\curseforge "URL Protocol" ""
|
||||
WriteRegStr HKCU Software\Classes\curseforge\shell\open\command "" '"$INSTDIR\@Launcher_APP_BINARY_NAME@.exe" "%1"'
|
||||
|
||||
; Write the uninstall keys for Windows
|
||||
${GetParameters} $R0
|
||||
${GetOptions} $R0 "/NoUninstaller" $R1
|
||||
|
Reference in New Issue
Block a user