Skip to content

Commit

Permalink
💚 Add missing winres config
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenWaygate committed Sep 18, 2024
1 parent 44939c4 commit d4966bb
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
distribution: goreleaser
args: release --clean --snapshot
args: release --clean
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -46,11 +46,11 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: dist/yutu_{{ matrix.path }}
merge-multiple: true
- name: Attest
uses: actions/attest-build-provenance@v1
with:
subject-path: '${{ github.workspace }}/dist/yutu_${{ matrix.path }}'
subject-path: '${{ github.workspace }}/yutu_${{ matrix.path }}'

winget:
needs: [goreleaser]
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ qodana.yaml
go.work

dist/

# except for the following files
!winres/*
58 changes: 58 additions & 0 deletions winres/winres.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"RT_GROUP_ICON": {
"OTHER": {
"0000": "yutu.png"
}
},
"RT_MANIFEST": {
"#1": {
"0409": {
"identity": {
"name": "",
"version": ""
},
"description": "yutu is a fully functional CLI for YouTube",
"minimum-os": "win10",
"execution-level": "",
"ui-access": false,
"auto-elevate": false,
"dpi-awareness": "per monitor v2",
"disable-theming": false,
"disable-window-filtering": false,
"high-resolution-scrolling-aware": false,
"ultra-high-resolution-scrolling-aware": false,
"long-path-aware": false,
"printer-driver-isolation": false,
"gdi-scaling": false,
"segment-heap": false,
"use-common-controls-v6": false
}
}
},
"RT_VERSION": {
"#1": {
"0000": {
"fixed": {
"file_version": "0.0.0.0",
"product_version": "0.0.0.0"
},
"info": {
"0409": {
"Comments": "yutu",
"CompanyName": "eat-pray-ai",
"FileDescription": "yutu is a fully functional CLI for YouTube",
"FileVersion": "",
"InternalName": "yutu",
"LegalCopyright": "Copyright (c) [eat-pray-ai & Chaoqun]",
"LegalTrademarks": "",
"OriginalFilename": "yutu",
"PrivateBuild": "",
"ProductName": "yutu🐰",
"ProductVersion": "",
"SpecialBuild": ""
}
}
}
}
}
}

0 comments on commit d4966bb

Please # to comment.