Skip to content

Commit d4966bb

Browse files
committed
💚 Add missing winres config
1 parent 44939c4 commit d4966bb

File tree

3 files changed

+64
-3
lines changed

3 files changed

+64
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
GITHUB_TOKEN: ${{ github.token }}
2020
with:
2121
distribution: goreleaser
22-
args: release --clean --snapshot
22+
args: release --clean
2323
- name: Upload artifact
2424
uses: actions/upload-artifact@v4
2525
with:
@@ -46,11 +46,11 @@ jobs:
4646
- name: Download artifact
4747
uses: actions/download-artifact@v4
4848
with:
49-
name: dist/yutu_{{ matrix.path }}
49+
merge-multiple: true
5050
- name: Attest
5151
uses: actions/attest-build-provenance@v1
5252
with:
53-
subject-path: '${{ github.workspace }}/dist/yutu_${{ matrix.path }}'
53+
subject-path: '${{ github.workspace }}/yutu_${{ matrix.path }}'
5454

5555
winget:
5656
needs: [goreleaser]

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ qodana.yaml
2727
go.work
2828

2929
dist/
30+
31+
# except for the following files
32+
!winres/*

winres/winres.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"RT_GROUP_ICON": {
3+
"OTHER": {
4+
"0000": "yutu.png"
5+
}
6+
},
7+
"RT_MANIFEST": {
8+
"#1": {
9+
"0409": {
10+
"identity": {
11+
"name": "",
12+
"version": ""
13+
},
14+
"description": "yutu is a fully functional CLI for YouTube",
15+
"minimum-os": "win10",
16+
"execution-level": "",
17+
"ui-access": false,
18+
"auto-elevate": false,
19+
"dpi-awareness": "per monitor v2",
20+
"disable-theming": false,
21+
"disable-window-filtering": false,
22+
"high-resolution-scrolling-aware": false,
23+
"ultra-high-resolution-scrolling-aware": false,
24+
"long-path-aware": false,
25+
"printer-driver-isolation": false,
26+
"gdi-scaling": false,
27+
"segment-heap": false,
28+
"use-common-controls-v6": false
29+
}
30+
}
31+
},
32+
"RT_VERSION": {
33+
"#1": {
34+
"0000": {
35+
"fixed": {
36+
"file_version": "0.0.0.0",
37+
"product_version": "0.0.0.0"
38+
},
39+
"info": {
40+
"0409": {
41+
"Comments": "yutu",
42+
"CompanyName": "eat-pray-ai",
43+
"FileDescription": "yutu is a fully functional CLI for YouTube",
44+
"FileVersion": "",
45+
"InternalName": "yutu",
46+
"LegalCopyright": "Copyright (c) [eat-pray-ai & Chaoqun]",
47+
"LegalTrademarks": "",
48+
"OriginalFilename": "yutu",
49+
"PrivateBuild": "",
50+
"ProductName": "yutu🐰",
51+
"ProductVersion": "",
52+
"SpecialBuild": ""
53+
}
54+
}
55+
}
56+
}
57+
}
58+
}

0 commit comments

Comments
 (0)