📦 Chore(custom): update winget file

This commit is contained in:
Kuingsmile
2026-05-13 10:38:35 +08:00
parent 7273803e6f
commit 65ec8ef8bd
4 changed files with 9 additions and 8 deletions

View File

@@ -36,9 +36,10 @@ const releaseAPI = 'https://api.github.com/repos/Kuingsmile/piclist/releases/lat
const response = await axios.get(releaseAPI, {
headers: {
Accept: 'application/vnd.github+json',
Authorization: `Bearer ${process.env.GH_TOKEN}`,
'X-GitHub-Api-Version': '2022-11-28',
},
})
const releaseData = response.data
const fileNameList = [`PicList-Setup-${version}-arm64.exe`, `PicList-Setup-${version}-x64.exe`]