mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 04:52:50 +00:00
Assume xml is text rather than binary.
This commit is contained in:
parent
4b81713954
commit
dbd350889b
@ -165,7 +165,7 @@ class WindowsBuilder(Builder):
|
||||
self._print('Creating WiX file...')
|
||||
config_dir = os.path.dirname(self.config_path)
|
||||
self._print_verbose('Reading base WiX file')
|
||||
with open(os.path.join(config_dir, 'OpenLP-base.wxs'), 'rb') as base_file:
|
||||
with open(os.path.join(config_dir, 'OpenLP-base.wxs'), 'rt') as base_file:
|
||||
xml = base_file.read()
|
||||
xml = xml.format(dialog=os.path.join(config_dir, 'WizardMain.bmp'),
|
||||
banner=os.path.join(config_dir, 'WizardBanner.bmp'))
|
||||
|
Loading…
Reference in New Issue
Block a user