Browse Source

Qualified Namespace of pscredential

Qualified Namespace of pscredential, otherwise script fails in Powershell builds <3.0.
trumblejoe 6 years ago
parent
commit
b719ca5a33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deployment/windows/install-jellyfin.ps1

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

@@ -3,7 +3,7 @@
 param(
     [Switch]$Quiet,
     [Switch]$InstallAsService,
-    [pscredential]$ServiceUser,
+    [System.Management.Automation.pscredential]$ServiceUser,
     [switch]$CreateDesktopShorcut,
     [switch]$LaunchJellyfin,
     [switch]$MigrateEmbyLibrary,