Skip to content

Commit d95a4e1

Browse files
committed
remove annoying dialog, allow run
1 parent c2f7af9 commit d95a4e1

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎windows/Jorts-Installer.nsi‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ Caption "Jorts Installer"
1313
# Set the title and text on the welcome page
1414
!define MUI_WELCOMEPAGE_TITLE "Welcome to Jorts setup"
1515
!define MUI_WELCOMEPAGE_TEXT "This bitch will guide you through the installation of Jorts."
16-
!define MUI_ABORTWARNING
17-
!define MUI_ABORTWARNING_TEXT "Are you sure you want to cancel Jorts setup?"
1816
!define MUI_INSTFILESPAGE_TEXT "Please wait while Jorts is being installed."
1917
!define MUI_ICON "install.ico"
2018
!define MUI_UNICON "uninstall.ico"
19+
!define MUI_FINISHPAGE_RUN "$SMPROGRAMS\Startup\Jorts.lnk"
2120

2221
!insertmacro MUI_PAGE_WELCOME
2322
!insertmacro MUI_PAGE_DIRECTORY

‎windows/deploy.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,10 @@ Caption "${app_name} Installer"
107107
# Set the title and text on the welcome page
108108
!define MUI_WELCOMEPAGE_TITLE "Welcome to ${app_name} setup"
109109
!define MUI_WELCOMEPAGE_TEXT "This bitch will guide you through the installation of ${app_name}."
110-
!define MUI_ABORTWARNING
111-
!define MUI_ABORTWARNING_TEXT "Are you sure you want to cancel ${app_name} setup?"
112110
!define MUI_INSTFILESPAGE_TEXT "Please wait while ${app_name} is being installed."
113111
!define MUI_ICON "${icon_file_install}"
114112
!define MUI_UNICON "${icon_file_uninstall}"
113+
!define MUI_FINISHPAGE_RUN "$SMPROGRAMS\Startup\Jorts.lnk"
115114
116115
!insertmacro MUI_PAGE_WELCOME
117116
!insertmacro MUI_PAGE_DIRECTORY
@@ -210,6 +209,7 @@ Section "Uninstall"
210209
211210
; Remove Start Menu shortcut
212211
Delete "\$SMPROGRAMS\\${app_name}\\${app_name}.lnk"
212+
Delete "\$SMPROGRAMS\\${app_name}\\Preferences of ${app_name}.lnk"
213213
Delete "\$SMPROGRAMS\\Startup\\${app_name}.lnk"
214214
215215
; Remove uninstaller

0 commit comments

Comments
 (0)