Skip to content

Commit bfe42d1

Browse files
committed
Removed unnecessary platformrelated ffmpeg binaries from output to decrease binary size
Update config.json and pyinstaller_config.md
1 parent 580cfac commit bfe42d1

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

config/config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@
6767
},
6868
{
6969
"optionDest": "datas",
70-
"value": "C:/Users/Ludo/Desktop/youtube-dl/ffmpeg-binaries;ffmpeg-binaries/"
70+
"value": "C:/Users/Ludo/Desktop/youtube-dl/modules;modules/"
7171
},
7272
{
7373
"optionDest": "datas",
74-
"value": "C:/Users/Ludo/Desktop/youtube-dl/modules;modules/"
74+
"value": "C:/Users/Ludo/Desktop/youtube-dl/themes;themes/"
7575
},
7676
{
7777
"optionDest": "datas",
78-
"value": "C:/Users/Ludo/Desktop/youtube-dl/themes;themes/"
78+
"value": "C:/Users/Ludo/Desktop/youtube-dl/ffmpeg-binaries/ffmpeg.exe;ffmpeg-binaries/"
7979
}
8080
],
8181
"nonPyinstallerOptions": {

config/pyinstaller_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pyinstaller --onefile --noconfirm --windowed --icon "/Users/ludo/Documents/youtube-dl/config/icon.ico" --name "YouTube Downloader" --add-data "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/customtkinter:customtkinter/" --add-data "/Users/ludo/Documents/youtube-dl/ffmpeg-binaries:ffmpeg-binaries" --add-data "/Users/ludo/Documents/youtube-dl/modules:modules" --add-data "/Users/ludo/Documents/youtube-dl/themes:themes" main.pyw --clean
1+
pyinstaller --onefile --noconfirm --windowed --icon "/Users/ludo/Documents/youtube-dl/config/icon.ico" --name "YouTube Downloader" --add-data "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/customtkinter:customtkinter/" --add-data "/Users/ludo/Documents/youtube-dl/ffmpeg-binaries/ffmpeg:ffmpeg-binaries" --add-data "/Users/ludo/Documents/youtube-dl/modules:modules" --add-data "/Users/ludo/Documents/youtube-dl/themes:themes" main.pyw --clean

config/version.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VSVersionInfo(
22
ffi=FixedFileInfo(
3-
filevers=(1, 1, 0, 0),
4-
prodvers=(1, 1, 0, 0),
3+
filevers=(1, 2, 0, 0),
4+
prodvers=(1, 2, 0, 0),
55
mask=0x3f,
66
flags=0x0,
77
OS=0x40004,
@@ -15,11 +15,11 @@ VSVersionInfo(
1515
StringTable(
1616
'040904B0',
1717
[StringStruct('CompanyName', 'infinitel8p'),
18-
StringStruct('FileVersion', '1.1.0.0'),
18+
StringStruct('FileVersion', '1.2.0.0'),
1919
StringStruct('InternalName', 'YouTube Downloader'),
2020
StringStruct('OriginalFilename', 'YouTube Downloader.exe'),
2121
StringStruct('ProductName', 'YouTube Downloader'),
22-
StringStruct('ProductVersion', '1.1.0.0'),
22+
StringStruct('ProductVersion', '1.2.0.0'),
2323
StringStruct('FileDescription', 'Simple youtube downloader with gui. More info at https://github.com/infinitel8p/youtube-dl')]
2424

2525
)

0 commit comments

Comments
 (0)