📦 Chore(custom): update winget file

This commit is contained in:
Kuingsmile
2026-01-11 14:45:56 +08:00
parent 6ff7461f27
commit 8e6f4f9d64
4 changed files with 9 additions and 35 deletions

View File

@@ -85,6 +85,7 @@ jobs:
if: contains(matrix.os_type, 'linux') && (github.event.inputs.build_os == matrix.platform || github.event.inputs.build_os == 'All')
run: |
sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils libfuse2
sudo snap install snapcraft --classic
- name: Install FPM
if: matrix.os == 'ubuntu-24.04-arm' && (github.event.inputs.build_os == matrix.platform || github.event.inputs.build_os == 'All')
@@ -225,7 +226,7 @@ jobs:
token: ${{ secrets.GH_TOKEN }}
combine-and-upload-yml:
name: Combine YML files and upload to S3
name: Combine YML files
needs: release
runs-on: ubuntu-latest
@@ -271,28 +272,6 @@ jobs:
echo "Latest linux ARM64 combined YML content:"
cat ./dist_electron/combined/latest-linux-arm64.yml
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
if: github.event.inputs.publish_enabled == 'true'
with:
aws-access-key-id: ${{ secrets.R2_SECRET_ID }}
aws-secret-access-key: ${{ secrets.R2_SECRET_KEY }}
aws-region: us-east-1
- name: Upload combined yml files to S3/R2
if: github.event.inputs.publish_enabled == 'true'
run: |
for file in ./dist_electron/combined/*.yml; do
if [ -f "$file" ]; then
filename=$(basename "$file")
echo "Uploading $filename to S3/R2..."
aws s3 cp "$file" "s3://piclist-dl/latest/$filename" \
--endpoint-url "https://7ab4ed5cb1f4052a13d3b573876ecf33.r2.cloudflarestorage.com" \
echo "Uploaded $filename successfully"
fi
done
echo "All yml files uploaded to S3/R2!"
- name: Get version for release
id: get_version
run: |
@@ -305,9 +284,4 @@ jobs:
with:
draft: true
tag_name: v${{ steps.get_version.outputs.version }}
files: |
./dist_electron/combined/latest.yml
./dist_electron/combined/latest-mac.yml
./dist_electron/combined/latest-linux.yml
./dist_electron/combined/latest-linux-arm64.yml
token: ${{ secrets.GH_TOKEN }}

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.1.1
PackageVersion: 3.2.0
InstallerType: nullsoft
Installers:
- Architecture: x64
InstallerUrl: https://github.com/Kuingsmile/PicList/releases/download/v3.1.1/PicList-Setup-3.1.1.exe
InstallerSha256: 82CFFA9421ABE366CF1000CD7B0B094688A039F701900D55629FC86A495D9C82
InstallerUrl: https://github.com/Kuingsmile/PicList/releases/download/v3.2.0/PicList-Setup-3.2.0.exe
InstallerSha256: 7C7122E5EE998601A8A4C10B49D5D0D3AF4049FA2F27537C6A79E93E13128023
- Architecture: arm64
InstallerUrl: https://github.com/Kuingsmile/PicList/releases/download/v3.1.1/PicList-Setup-3.1.1-arm64.exe
InstallerSha256: 11DA78D81629491208BED735155705A27C107695571EE6EEFC261B7CA306F6CD
InstallerUrl: https://github.com/Kuingsmile/PicList/releases/download/v3.2.0/PicList-Setup-3.2.0-arm64.exe
InstallerSha256: AACA9D06F33F77CDE661DC491632EE73E1B0FA55F5609A99D4B6F9935CEFE7ED
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.1.1
PackageVersion: 3.2.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.1.1
PackageVersion: 3.2.0
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.9.0