mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
Add architecture into MSI file name
This commit is contained in:
parent
2878cc7198
commit
2151a84908
@ -200,7 +200,11 @@ class WindowsBuilder(Builder):
|
|||||||
Run the WiX toolset to create an installer
|
Run the WiX toolset to create an installer
|
||||||
"""
|
"""
|
||||||
self._print('Running WiX tools...')
|
self._print('Running WiX tools...')
|
||||||
msi_file = os.path.abspath(os.path.join(self.dist_path, '..', 'OpenLP-{}.msi'.format(self.version)))
|
if self.arch == 'x64':
|
||||||
|
version = '{}-x64'.format(self.version)
|
||||||
|
else:
|
||||||
|
version = self.version
|
||||||
|
msi_file = os.path.abspath(os.path.join(self.dist_path, '..', 'OpenLP-{}.msi'.format(version)))
|
||||||
if os.path.exists(msi_file):
|
if os.path.exists(msi_file):
|
||||||
self._print_verbose('Removing old MSI file')
|
self._print_verbose('Removing old MSI file')
|
||||||
os.unlink(msi_file)
|
os.unlink(msi_file)
|
||||||
|
Loading…
Reference in New Issue
Block a user