Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Commit

Permalink
Revert "v1.6.5 - Update JNote.spec [build]"
Browse files Browse the repository at this point in the history
This reverts commit 82e5e84.
  • Loading branch information
Dev-I-J committed Dec 14, 2020
1 parent 25a7120 commit ff2e244
Showing 1 changed file with 34 additions and 12 deletions.
46 changes: 34 additions & 12 deletions JNote.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- mode: python ; coding: utf-8 -*-

from os.path import abspath as path
from sys import platform

block_cipher = None

Expand Down Expand Up @@ -34,21 +35,42 @@ a = Analysis(['main.py'],
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,

if platform == "darwin":
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
exclude_binaries=True,
name='JNote',
debug=True,
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
console=True, icon="icons/favicon.ico")
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=False,
upx_exclude=[],
name='JNote')
upx_exclude=[],
runtime_tmpdir=None,
console=False )
app = BUNDLE(exe,
name='JNote.app',
icon="icons/favicon.icns",
bundle_identifier=None)
else:
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=True,
name='JNote',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
console=False, icon="icons/favicon.ico")
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=False,
upx_exclude=[],
name='JNote')

0 comments on commit ff2e244

Please sign in to comment.