diff options
author | shirt-dev <2660574+shirt-dev@users.noreply.github.com> | 2021-02-09 07:34:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 18:04:00 +0530 |
commit | 3dd264bf423543e8d3d5394a38cd79007f1a59f8 (patch) | |
tree | 2bb8b4071d8c9b5fa53338a1b0fdafc0ab39849a /devscripts/pyinst.py | |
parent | efabc161652d2427c2fe5ccff6c944e91ea12ca0 (diff) | |
download | hypervideo-pre-3dd264bf423543e8d3d5394a38cd79007f1a59f8.tar.lz hypervideo-pre-3dd264bf423543e8d3d5394a38cd79007f1a59f8.tar.xz hypervideo-pre-3dd264bf423543e8d3d5394a38cd79007f1a59f8.zip |
#64 Implement self updater
Co-authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com> (shirt-dev)
Co-authored-by: pukkandan <pukkandan@gmail.com>
Diffstat (limited to 'devscripts/pyinst.py')
-rw-r--r-- | devscripts/pyinst.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devscripts/pyinst.py b/devscripts/pyinst.py index b663d4b2e..083cec903 100644 --- a/devscripts/pyinst.py +++ b/devscripts/pyinst.py @@ -27,7 +27,7 @@ os.chdir(root_dir) exec(compile(open('youtube_dlc/version.py').read(), 'youtube_dlc/version.py', 'exec')) VERSION = locals()['__version__'] -VERSION_LIST = VERSION.replace('-', '.').split('.') +VERSION_LIST = VERSION.split('.') VERSION_LIST = list(map(int, VERSION_LIST)) + [0] * (4 - len(VERSION_LIST)) print('Version: %s%s' % (VERSION, _x86)) |