aboutsummaryrefslogtreecommitdiff
path: root/program_info
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-02-12 17:34:37 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-02-12 17:34:37 -0700
commit7d02e1f8660193e88086c0e80b6749e4d34af0a7 (patch)
tree7ac29cd396657984503edfa3aa3a675cfaaaa68b /program_info
parentd93cb751b074447709ad323f8ca5b379498ab470 (diff)
downloadPrismLauncher-7d02e1f8660193e88086c0e80b6749e4d34af0a7.tar.gz
PrismLauncher-7d02e1f8660193e88086c0e80b6749e4d34af0a7.tar.bz2
PrismLauncher-7d02e1f8660193e88086c0e80b6749e4d34af0a7.zip
feat: make shell association an optional section
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'program_info')
-rw-r--r--program_info/win_install.nsi.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/program_info/win_install.nsi.in b/program_info/win_install.nsi.in
index 5ad6078e..49e22500 100644
--- a/program_info/win_install.nsi.in
+++ b/program_info/win_install.nsi.in
@@ -336,9 +336,9 @@ SectionEnd
!define APPICON "$INSTDIR\${APPEXE},0"
!define APPDESCRIPTION "@Launcher_DisplayName@"
!define APPNAME "@Launcher_DisplayName@"
-!define APPCMDTEXT "Minecraft Modpack"
+!define APPCMDTEXT "@Launcher_DisplayName@"
-Section -ShellAssoc
+Section /o "Shell Association (Open-With dialog)" SHELL_ASSOC
!insertmacro APP_SETUP `${APPDESCRIPTION}` `${APPICON}` `${APPID}` `${APPCMDTEXT}` `${APPEXE}` `${APPCMDTEXT}` '$INSTDIR\${APPEXE} -I "%1"'