Explorar o código

Make service setup an optional component, remove setuptype page config for now

Anthony Lavado %!s(int64=5) %!d(string=hai) anos
pai
achega
05fb84ba22
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      deployment/windows/jellyfin.nsi

+ 3 - 2
deployment/windows/jellyfin.nsi

@@ -89,7 +89,8 @@ ShowUninstDetails show
     !insertmacro MUI_PAGE_LICENSE "$%InstallLocation%\LICENSE" ; picking up generic GPL
 
 ; Setup Type Page
-    Page custom ShowSetupTypePage SetupTypePage_Config
+    Page custom ShowSetupTypePage ;SetupTypePage_Config
+    
 ; Components Page
     !insertmacro MUI_PAGE_COMPONENTS
     !define MUI_PAGE_CUSTOMFUNCTION_PRE HideInstallDirectoryPage ; Controls when to hide / show
@@ -184,7 +185,7 @@ Section "!Jellyfin Server (required)" InstallJellyfinServer
     WriteUninstaller "$INSTDIR\Uninstall.exe"
 SectionEnd
 
-Section "Jellyfin Server Service" InstallService
+Section /o "Jellyfin Server Service" InstallService
 
     ExecWait '"$INSTDIR\nssm.exe" statuscode JellyfinServer' $0
     DetailPrint "Jellyfin Server service statuscode, $0"