Sfoglia il codice sorgente

Always download the latest tray app release

Anthony Lavado 5 anni fa
parent
commit
e877ef92d7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      deployment/windows/build-jellyfin.ps1

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

@@ -145,7 +145,7 @@ function Install-TrayApp {
     }else{
     }else{
         Write-Verbose "Downloading Tray App and copying to Jellyfin location"
         Write-Verbose "Downloading Tray App and copying to Jellyfin location"
         [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
         [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
-        Invoke-WebRequest -Uri https://github.com/jellyfin/jellyfin-windows-tray/releases/download/v1.0/JellyfinTray.exe -UseBasicParsing -OutFile "$installLocation/JellyfinTray.exe" | Write-Verbose
+        Invoke-WebRequest -Uri https://github.com/jellyfin/jellyfin-windows-tray/releases/latest/download/JellyfinTray.exe -UseBasicParsing -OutFile "$installLocation/JellyfinTray.exe" | Write-Verbose
     }
     }
 }
 }