Skip to content

Commit ae04e6e

Browse files
authored
Add files via upload
1 parent a5f077c commit ae04e6e

File tree

4 files changed

+86
-6
lines changed

4 files changed

+86
-6
lines changed

command.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
using pyinstaller and add this line
12
--version-file version.txt

version-model.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
VSVersionInfo(
22
ffi=FixedFileInfo(
33
filevers=(x, x, x, x),
4+
# prodvers=(3, 0, 10, 2),
45
mask=0x3f,
56
flags=0x0,
67
OS=0x4,
@@ -13,13 +14,13 @@ VSVersionInfo(
1314
[
1415
StringTable(
1516
u'040904b0',
16-
[StringStruct(u'CompanyName', u'Your name here'),
17-
StringStruct(u'ProductName', u'name here'),
17+
[StringStruct(u'CompanyName', u'Maker name'),
18+
StringStruct(u'ProductName', u'exe name'),
1819
StringStruct(u'ProductVersion', u'x.x.x.x'),
19-
StringStruct(u'OriginalFilename', u'productname.exe'),
20-
StringStruct(u'FileDescription', u'Short description goes here'),
21-
StringStruct(u'LegalCopyright', u'copyright stuff here'),
22-
StringStruct(u'LegalTrademarks', u'legal stuff here'),])
20+
StringStruct(u'OriginalFilename', u'exename.exe'),
21+
StringStruct(u'FileDescription', u'Short description here'),
22+
StringStruct(u'LegalCopyright', u'copyright here'),
23+
StringStruct(u'LegalTrademarks', u'legal here'),])
2324
]),
2425
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
2526
]

version-注解(简体).txt

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# UTF-8
2+
VSVersionInfo(
3+
ffi=FixedFileInfo(
4+
# filevers 和 prodvers 应该为有四个元素的元组如: (1, 2, 3, 4)
5+
# 将不需要的元素设为:零 0.
6+
filevers=(x, x, x, x), #<- 在这里放所需要的版本号,替换掉X
7+
# prodvers=(3, 0, 10, 2),
8+
# 内含遮罩以指定所需的有效位的'flags'
9+
mask=0x3f, #<- 不可更改
10+
# 内含遮罩以指定档案所需的布林属性的'flags'
11+
flags=0x0, #<- 不可更改
12+
# 作业系统
13+
# 0x4 - 没必要更改
14+
OS=0x4, #<- 不可更改
15+
# 档案的类别
16+
# 0x1 - 代表此档案为应用程式
17+
fileType=0x1, #<- 不可更改
18+
# 这个档案的function
19+
# 0x0 - function 没有为这个档案格式定义
20+
subtype=0x0, #<- 不可更改
21+
# 制作日期和图章,会自动填写,不可更改
22+
date=(0, 0) #<- 不可更改
23+
),
24+
kids=[
25+
StringFileInfo(
26+
[
27+
StringTable(
28+
u'040904b0',
29+
[StringStruct(u'CompanyName', u'公司名'),
30+
StringStruct(u'ProductName', u'程式名'),
31+
StringStruct(u'ProductVersion', u'x.x.x.x'), #<- 必须和版本号一样
32+
StringStruct(u'OriginalFilename', u'产品名.exe'),
33+
StringStruct(u'FileDescription', u'程式介绍'),
34+
StringStruct(u'LegalCopyright', u'版权的东西'),
35+
StringStruct(u'LegalTrademarks', u'法律的东西'),])
36+
]),
37+
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
38+
]
39+
)

version-註解(繁體).txt

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# UTF-8
2+
VSVersionInfo(
3+
ffi=FixedFileInfo(
4+
# filevers 和 prodvers 應該為有四個元素的元組如: (1, 2, 3, 4)
5+
# 將不需要的元素設為:零 0.
6+
filevers=(x, x, x, x), #<- 在這裡放所需要的版本號,替換掉X
7+
# prodvers=(3, 0, 10, 2),
8+
# 內含遮罩以指定所需的有效位的'flags'
9+
mask=0x3f, #<- 不可更改
10+
# 內含遮罩以指定檔案所需的布林屬性的'flags'
11+
flags=0x0, #<- 不可更改
12+
# 作業系統
13+
# 0x4 - 沒必要更改
14+
OS=0x4, #<- 不可更改
15+
# 檔案的類別
16+
# 0x1 - 代表此檔案為應用程式
17+
fileType=0x1, #<- 不可更改
18+
# 這個檔案的function
19+
# 0x0 - function 沒有為這個檔案格式定義
20+
subtype=0x0, #<- 不可更改
21+
# 製作日期和圖章,會自動填寫,不可更改
22+
date=(0, 0) #<- 不可更改
23+
),
24+
kids=[
25+
StringFileInfo(
26+
[
27+
StringTable(
28+
u'040904b0',
29+
[StringStruct(u'CompanyName', u'公司名'),
30+
StringStruct(u'ProductName', u'程式名'),
31+
StringStruct(u'ProductVersion', u'x.x.x.x'), #<- 必須和版本號一樣
32+
StringStruct(u'OriginalFilename', u'產品名.exe'),
33+
StringStruct(u'FileDescription', u'程式介紹'),
34+
StringStruct(u'LegalCopyright', u'版權的東西'),
35+
StringStruct(u'LegalTrademarks', u'法律的東西'),])
36+
]),
37+
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
38+
]
39+
)

0 commit comments

Comments
 (0)