diff --git a/make_win.bat b/make_win.bat index c5caac08f..a63130f1e 100644 --- a/make_win.bat +++ b/make_win.bat @@ -1 +1 @@ -pyinstaller.exe youtube_dlc\__main__.py --onefile --name youtube-dlc \ No newline at end of file +pyinstaller.exe youtube_dlc\__main__.py --onefile --name youtube-dlc --version-file win\ver.txt --icon win\icon\cloud.ico \ No newline at end of file diff --git a/win/icon/cloud.ico b/win/icon/cloud.ico new file mode 100644 index 000000000..6d742ce63 Binary files /dev/null and b/win/icon/cloud.ico differ diff --git a/win/ver.txt b/win/ver.txt new file mode 100644 index 000000000..0ad434400 --- /dev/null +++ b/win/ver.txt @@ -0,0 +1,45 @@ +# UTF-8 +# +# For more details about fixed file info 'ffi' see: +# http://msdn.microsoft.com/en-us/library/ms646997.aspx +VSVersionInfo( + ffi=FixedFileInfo( + # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) + # Set not needed items to zero 0. + filevers=(6, 9, 2020, 0), + prodvers=(6, 9, 2020, 0), + # Contains a bitmask that specifies the valid bits 'flags'r + mask=0x3f, + # Contains a bitmask that specifies the Boolean attributes of the file. + flags=0x0, + # The operating system for which this file was designed. + # 0x4 - NT and there is no need to change it. + # OS=0x40004, + OS=0x4, + # The general type of file. + # 0x1 - the file is an application. + fileType=0x1, + # The function of the file. + # 0x0 - the function is not defined for this fileType + subtype=0x0, + # Creation date and time stamp. + date=(0, 0) + ), + kids=[ + StringFileInfo( + [ + StringTable( + u'040904B0', + [StringStruct(u'Comments', u'Youtube-dlc Command Line Interface.'), + StringStruct(u'CompanyName', u'theidel@uni-bremen.de'), + StringStruct(u'FileDescription', u'Media Downloader'), + StringStruct(u'FileVersion', u'6.9.2020.0'), + StringStruct(u'InternalName', u'youtube-dlc'), + StringStruct(u'LegalCopyright', u'theidel@uni-bremen.de | UNLICENSE'), + StringStruct(u'OriginalFilename', u'youtube-dlc.exe'), + StringStruct(u'ProductName', u'Youtube-dlc'), + StringStruct(u'ProductVersion', u'6.9.2020.0 | git.io/JUGsM')]) + ]), + VarFileInfo([VarStruct(u'Translation', [0, 1200])]) + ] +)