mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Added url handler for curseforge
Signed-off-by: timoreo <contact@timoreo.fr>
This commit is contained in:
parent
d0b6f0124b
commit
63c21c53af
5 changed files with 69 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue