change(program_info): unhardcode brand from Windows files
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<ws2:longPathAware>true</ws2:longPathAware>
|
<ws2:longPathAware>true</ws2:longPathAware>
|
||||||
</windowsSettings>
|
</windowsSettings>
|
||||||
</application>
|
</application>
|
||||||
<assemblyIdentity name="PrismLauncher.Application.1" type="win32" version="@Launcher_VERSION_NAME4@" />
|
<assemblyIdentity name="@Launcher_CommonName@.Application.1" type="win32" version="@Launcher_VERSION_NAME4@" />
|
||||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
<security>
|
<security>
|
||||||
<requestedPrivileges>
|
<requestedPrivileges>
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ BEGIN
|
|||||||
BLOCK "000004b0"
|
BLOCK "000004b0"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "MultiMC & Prism Launcher Contributors"
|
VALUE "CompanyName", "MultiMC & Prism Launcher Contributors"
|
||||||
VALUE "FileDescription", "Prism Launcher"
|
VALUE "FileDescription", "@Launcher_DisplayName@"
|
||||||
VALUE "FileVersion", "@Launcher_VERSION_NAME4@"
|
VALUE "FileVersion", "@Launcher_VERSION_NAME4@"
|
||||||
VALUE "ProductName", "Prism Launcher"
|
VALUE "ProductName", "@Launcher_DisplayName@"
|
||||||
VALUE "ProductVersion", "@Launcher_VERSION_NAME4@"
|
VALUE "ProductVersion", "@Launcher_VERSION_NAME4@"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|||||||
@@ -393,9 +393,9 @@ Section "@Launcher_DisplayName@"
|
|||||||
WriteRegStr HKCU Software\Classes\curseforge "URL Protocol" ""
|
WriteRegStr HKCU Software\Classes\curseforge "URL Protocol" ""
|
||||||
WriteRegStr HKCU Software\Classes\curseforge\shell\open\command "" '"$INSTDIR\@Launcher_APP_BINARY_NAME@.exe" "%1"'
|
WriteRegStr HKCU Software\Classes\curseforge\shell\open\command "" '"$INSTDIR\@Launcher_APP_BINARY_NAME@.exe" "%1"'
|
||||||
|
|
||||||
; Write the URL Handler into registry for prismlauncher
|
; Write the URL Handler into registry for prismlauncher
|
||||||
WriteRegStr HKCU Software\Classes\prismlauncher "URL Protocol" ""
|
WriteRegStr HKCU Software\Classes\@Launcher_APP_BINARY_NAME@ "URL Protocol" ""
|
||||||
WriteRegStr HKCU Software\Classes\prismlauncher\shell\open\command "" '"$INSTDIR\@Launcher_APP_BINARY_NAME@.exe" "%1"'
|
WriteRegStr HKCU Software\Classes\@Launcher_APP_BINARY_NAME@\shell\open\command "" '"$INSTDIR\@Launcher_APP_BINARY_NAME@.exe" "%1"'
|
||||||
|
|
||||||
; Write the uninstall keys for Windows
|
; Write the uninstall keys for Windows
|
||||||
; https://learn.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key
|
; https://learn.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key
|
||||||
|
|||||||
Reference in New Issue
Block a user