Jelajahi Sumber

Fix an incorrect argument type in build script

Anthony Lavado 5 tahun lalu
induk
melakukan
0c003feac6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      deployment/windows/build-jellyfin.ps1

+ 1 - 1
deployment/windows/build-jellyfin.ps1

@@ -8,7 +8,7 @@ param(
     [switch]$GenerateZip,
     [switch]$GenerateZip,
     [string]$InstallLocation = "./dist/jellyfin-win-nsis",
     [string]$InstallLocation = "./dist/jellyfin-win-nsis",
     [string]$UXLocation = "../jellyfin-ux",
     [string]$UXLocation = "../jellyfin-ux",
-    [string]$InstallTrayApp,
+    [switch]$InstallTrayApp,
     [ValidateSet('Debug','Release')][string]$BuildType = 'Release',
     [ValidateSet('Debug','Release')][string]$BuildType = 'Release',
     [ValidateSet('Quiet','Minimal', 'Normal')][string]$DotNetVerbosity = 'Minimal',
     [ValidateSet('Quiet','Minimal', 'Normal')][string]$DotNetVerbosity = 'Minimal',
     [ValidateSet('win','win7', 'win8','win81','win10')][string]$WindowsVersion = 'win',
     [ValidateSet('win','win7', 'win8','win81','win10')][string]$WindowsVersion = 'win',