Skip to content

Commit

Permalink
fix bad version
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Aug 19, 2021
1 parent a6d0253 commit abefb44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
print('==> invoking pyinstaller for packaging')
subprocess.check_call([sys.executable, '-m', 'PyInstaller', 'scripts/launcher_{}.spec'.format(os_name), '-y'] + sys.argv[1:])

print('==> appending version informations')
with open('dist/launcher/zenqt/__init__.py', 'a') as f:
f.write('\nversion = {}\n'.format(repr(version)))
#print('==> appending version informations')
#with open('dist/launcher/zenqt/__init__.py', 'a') as f:
# f.write('\nversion = {}\n'.format(repr(version)))

zipname = 'dist/zeno-{}-{}'.format(os_name, version)
print('==> creating zip archive at {}'.format(zipname))
Expand Down
5 changes: 3 additions & 2 deletions zenqt/ui/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ def __init__(self, parent=None):
self.timer.timeout.connect(self.on_update)

def setWindowTitleWithPostfix(self, postfix):
from .. import version
title = 'ZENO Qt Editor ({})'.format(version)
#from .. import version
#title = 'ZENO Qt Editor ({})'.format(version)
title = 'ZENO Qt Editor'
if postfix:
title = '{} - [{}]'.format(title, postfix)
self.setWindowTitle(title)
Expand Down

0 comments on commit abefb44

Please sign in to comment.