go build 一个exe时候,可以在main.rc文件里面写更多信息,这样exe显得更加正规和官方,具体这个话题可以看续日的个人博客,
1 VERSIONINFO
FILEVERSION 2,1,0,0
PRODUCTVERSION 2,1,0,0
FILEFLAGS 0x0L
FILEFLAGSMASK 0x3fL
FILESUBTYPE 0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "FileDescription", "Cross-platform Beanstalk queue server console."
VALUE "FileVersion", "2.1"
VALUE "LegalCopyright", "Copyright (C) 2016 - 2017 Ri Xu https://xuri.me All right reserved."
VALUE "InternalName", "aurora"
VALUE "OriginalFilename", "aurora"
VALUE "ProductName", "Aurora Beanstalk Console"
VALUE "ProductVersion", "2.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0x04B0
END
END
1 ICON "icon.ico"
1 RT_MANIFEST "main.exe.manifest"
有疑问加站长微信联系(非本文作者)