📦 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

@@ -2,14 +2,14 @@
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.9.0.schema.json
PackageIdentifier: Kuingsmile.PicList
PackageVersion: 3.3.2
PackageVersion: 3.4.0
InstallerType: nullsoft
Installers:
- Architecture: x64
InstallerUrl: https://github.com/Kuingsmile/PicList/releases/download/v3.3.2/PicList-Setup-3.3.2-x64.exe
InstallerSha256: 7956B89E3F19DA72C47BC11A9D31F844F12E9DDE43734BBB26FABB85553ADCCF
InstallerUrl: https://github.com/Kuingsmile/PicList/releases/download/v3.4.0/PicList-Setup-3.4.0-x64.exe
InstallerSha256: 6F44365C395E2D692F1E78064E4777692B8226DF48EACEC4DD7FC768619B81B7
- Architecture: arm64
InstallerUrl: https://github.com/Kuingsmile/PicList/releases/download/v3.3.2/PicList-Setup-3.3.2-arm64.exe
InstallerSha256: 75C56F244432EFA0E0FD9F731ACD83030C68D8D29B161CAB86C20EE01583410D
InstallerUrl: https://github.com/Kuingsmile/PicList/releases/download/v3.4.0/PicList-Setup-3.4.0-arm64.exe
InstallerSha256: E9ED6CB6D19743B58B16B72A8509E337F55C3C03746537E7DA02946197DBE063
ManifestType: installer
ManifestVersion: 1.9.0

View File

@@ -2,7 +2,7 @@
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.9.0.schema.json
PackageIdentifier: Kuingsmile.PicList
PackageVersion: 3.3.2
PackageVersion: 3.4.0
PackageLocale: en-US
Publisher: Kuingsmile
PublisherUrl: https://github.com/Kuingsmile

View File

@@ -2,7 +2,7 @@
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.9.0.schema.json
PackageIdentifier: Kuingsmile.PicList
PackageVersion: 3.3.2
PackageVersion: 3.4.0
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.9.0

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`]