-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added menu bar icons for windows and linux. created main.spec for win…
…dows and linux packaging. Distributing build
- Loading branch information
KnoBuddy
committed
Oct 11, 2024
1 parent
4f6c8ce
commit 414d83e
Showing
10 changed files
with
65,292 additions
and
496 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ __pycache__/ | |
|
||
venv/ | ||
|
||
build/ | ||
dist/ | ||
|
||
*mp4 | ||
*aac | ||
*wmv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# -*- mode: python ; coding: utf-8 -*- | ||
import sys | ||
import platform | ||
|
||
system = platform.system() | ||
|
||
a = Analysis( | ||
['main.py'], | ||
pathex=[], | ||
binaries=[], | ||
datas=[ | ||
('gui.ui', '.'), | ||
('fonts/digital-7 (mono).ttf', 'fonts'), | ||
('icons/videoeditor_icon.ico', 'icons'), | ||
('icons/videoeditor_icon.png', 'icons'), | ||
], | ||
hiddenimports=[], | ||
hookspath=[], | ||
hooksconfig={}, | ||
runtime_hooks=[], | ||
excludes=[], | ||
noarchive=False, | ||
optimize=0, | ||
) | ||
pyz = PYZ(a.pure) | ||
|
||
# Set the icon parameter conditionally based on the OS | ||
if system == 'Windows': | ||
icon_file = 'icons/videoeditor_icon.ico' | ||
else: | ||
icon_file = None | ||
|
||
exe = EXE( | ||
pyz, | ||
a.scripts, | ||
a.binaries, | ||
a.datas, | ||
[], | ||
name='VideoEditor', | ||
debug=False, | ||
bootloader_ignore_signals=False, | ||
strip=False, | ||
upx=True, | ||
upx_exclude=[], | ||
runtime_tmpdir=None, | ||
console=True, | ||
disable_windowed_traceback=False, | ||
argv_emulation=False, | ||
target_arch=None, | ||
codesign_identity=None, | ||
entitlements_file=None, | ||
icon=icon_file, | ||
) |
Oops, something went wrong.