diff options
author | lovetox <philipp@hoerist.com> | 2020-12-31 01:39:29 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-12-31 01:39:29 +0300 |
commit | a838b6532d64bf3d5f46c05a61bbd71851a41dfe (patch) | |
tree | 8ac4c04c629465735f5d4ac740797996654421a2 /win/misc | |
parent | a379e8dcdf2068586bcfe809b7d712cf86e0f8c4 (diff) |
Windows: Convert version correctly
Diffstat (limited to 'win/misc')
-rw-r--r-- | win/misc/create-launcher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/misc/create-launcher.py b/win/misc/create-launcher.py index eadee14e6..887a3c82f 100644 --- a/win/misc/create-launcher.py +++ b/win/misc/create-launcher.py @@ -136,7 +136,7 @@ END """ def to_ver_list(v): - v = v.replace('-dev', '.') + v = v.split("-")[0] return ",".join(map(str, (list(map(int, v.split("."))) + [0] * 4)[:4])) file_version_list = to_ver_list(file_version) |