浏览代码

Always download the latest tray app release

Anthony Lavado 5 年之前
父节点
当前提交
e877ef92d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deployment/windows/build-jellyfin.ps1

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

@@ -145,7 +145,7 @@ function Install-TrayApp {
     }else{
         Write-Verbose "Downloading Tray App and copying to Jellyfin location"
         [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
     }
 }