mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
Add missing param
This commit is contained in:
parent
933325e9d1
commit
293571a69a
@ -218,12 +218,12 @@ class WindowsBuilder(Builder):
|
||||
'Error running PortableApps Installer')
|
||||
portable_exe_name = 'OpenLPPortable_{ver}-{arch}.paf.exe'.format(ver=self.portable_version, arch=self.arch)
|
||||
portable_exe_path = os.path.abspath(os.path.join(self.portable_dest_path, '..', portable_exe_name))
|
||||
self._print(self._run_command(['dir', os.path.abspath(os.path.join(self.portable_dest_path, '..'))]))
|
||||
self._print_verbose('... Portable Build: {}'.format(portable_exe_path))
|
||||
if os.path.exists(portable_exe_path):
|
||||
move(portable_exe_path, os.path.join(self.dist_path, '..', portable_exe_name))
|
||||
self._print('PortableApp build complete')
|
||||
else:
|
||||
self._print(self._run_command(['dir', os.path.abspath(os.path.join(self.portable_dest_path, '..'))], 'Could not dir'))
|
||||
raise Exception('PortableApp failed to build')
|
||||
|
||||
def get_platform(self):
|
||||
|
Loading…
Reference in New Issue
Block a user