mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Merged heads
This commit is contained in:
commit
f33f30eabf
@ -36,7 +36,8 @@ def package_windows(edition, dev):
|
|||||||
if op.exists(distdir):
|
if op.exists(distdir):
|
||||||
shutil.rmtree(distdir)
|
shutil.rmtree(distdir)
|
||||||
|
|
||||||
cmd = 'cxfreeze --base-name Win32GUI --target-dir "{0}" --target-name "{1}.exe" --icon {2} run.py'
|
# Since v4.2.3, cx_freeze started to falsely include tkinter in the package. We exclude it explicitly because of that.
|
||||||
|
cmd = 'cxfreeze --base-name Win32GUI --target-dir "{0}" --target-name "{1}.exe" --icon {2} --exclude-modules tkinter run.py'
|
||||||
target_name = {'se': 'dupeGuru', 'me': 'dupeGuru ME', 'pe': 'dupeGuru PE'}[edition]
|
target_name = {'se': 'dupeGuru', 'me': 'dupeGuru ME', 'pe': 'dupeGuru PE'}[edition]
|
||||||
icon_path = 'images\\dg{0}_logo.ico'.format(edition)
|
icon_path = 'images\\dg{0}_logo.ico'.format(edition)
|
||||||
print_and_do(cmd.format(distdir, target_name, icon_path))
|
print_and_do(cmd.format(distdir, target_name, icon_path))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user