From 019ee8b1ba6ca5f6cd7391ab1b570a6c410c6761 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 1 Dec 2024 14:30:39 +0800 Subject: [PATCH] Update winget-publish.yml --- .github/workflows/winget-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/winget-publish.yml b/.github/workflows/winget-publish.yml index 50519bbf19c..391b61e7417 100644 --- a/.github/workflows/winget-publish.yml +++ b/.github/workflows/winget-publish.yml @@ -22,7 +22,7 @@ jobs: $github = Invoke-RestMethod -uri "https://api.github.com/repos/2dust/v2rayN/releases" $targetRelease = $github | Where-Object -Property prerelease -match 'False' | Select -First 1 - $installerUrl = $targetRelease | Select -ExpandProperty assets -First 1 | Where-Object -Property name -match 'v2rayN-With-Core\.zip*' | Select -ExpandProperty browser_download_url + $installerUrl = $targetRelease | Select -ExpandProperty assets -First 1 | Where-Object -Property name -match 'v2rayN-windows-64-With-Core\.zip*' | Select -ExpandProperty browser_download_url $ver = $targetRelease.tag_name