mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 04:52:50 +00:00
Fix the build number for the PortableApps installer, which was also causing a hang somewhere
This commit is contained in:
parent
a6e556e524
commit
03bdf87994
@ -335,7 +335,7 @@ class WindowsBuilder(Builder):
|
|||||||
version = version + '.0' * (2 - version.count('.'))
|
version = version + '.0' * (2 - version.count('.'))
|
||||||
self.portable_version = version + '.' + revision.split('+')[0]
|
self.portable_version = version + '.' + revision.split('+')[0]
|
||||||
else:
|
else:
|
||||||
self.portable_version = self.version + '.0' * (3 - self.version.count('.'))
|
self.portable_version = self._pep440_to_windows_version(self.version)
|
||||||
with open(os.path.join(config_dir, 'appinfo.ini.default'), 'r') as input_file, \
|
with open(os.path.join(config_dir, 'appinfo.ini.default'), 'r') as input_file, \
|
||||||
open(os.path.join(self.portable_dest_path, 'App', 'Appinfo', 'appinfo.ini'), 'w') as output_file:
|
open(os.path.join(self.portable_dest_path, 'App', 'Appinfo', 'appinfo.ini'), 'w') as output_file:
|
||||||
content = input_file.read()
|
content = input_file.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user