1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 04:52:50 +00:00

Remain in the correct directory

This commit is contained in:
Raoul Snyman 2019-04-10 21:56:12 -07:00
parent e354f0304a
commit a422276ff3

View File

@ -205,7 +205,7 @@ class WindowsBuilder(Builder):
self._print_verbose('Removing old MSI file')
os.unlink(msi_file)
config_dir = os.path.dirname(self.config_path)
os.chdir(os.path.abspath(os.path.join(self.dist_path, '..')))
os.chdir(self.dist_path)
self._run_command([self.candle_exe, '-ext', 'WiXUtilExtension', os.path.join(config_dir, 'OpenLP.wxs')],
'Error running WiX tool: candle')
self._run_command([self.light_exe, '-ext', 'WiXUtilExtension', '-ext', 'WixUIExtension', 'OpenLP.wixobj',