Skip to content

Commit 0cd236c

Browse files
committed
set windows file version
1 parent 0546db6 commit 0cd236c

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/pyinstaller.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
--add-data icon:icon
7474
--exclude-module pkg_resources
7575
--optimize 2
76+
--version version.rc
7677
- name: Attest
7778
id: attest
7879
uses: actions/attest-build-provenance@v2

build.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ pyinstaller ^
77
--debug noarchive ^
88
--add-data icon:icon ^
99
--exclude-module pkg_resources ^
10-
--optimize 2
10+
--optimize 2 ^
11+
--version version.rc

version.rc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
VSVersionInfo(
2+
ffi=FixedFileInfo(
3+
filevers=(0, 1, 0, 0),
4+
)
5+
)

0 commit comments

Comments
 (0)