Merge branch 'develop' into feat/launcher-updater
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@ -10,4 +10,4 @@ Icon=org.prismlauncher.PrismLauncher
|
||||
Categories=Game;ActionGame;AdventureGame;Simulation;
|
||||
Keywords=game;minecraft;mc;
|
||||
StartupWMClass=PrismLauncher
|
||||
MimeType=application/zip;application/x-modrinth-modpack+zip
|
||||
MimeType=application/zip;application/x-modrinth-modpack+zip;x-scheme-handler/curseforge;
|
||||
|
@ -364,6 +364,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