mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
"[Windows] Rename OpenLP-2.0.iss.default to OpenLP.iss.default and update all references to it."
bzr-revno: 27 Fixes: https://launchpad.net/bugs/1489338
This commit is contained in:
commit
1a05686931
@ -26,7 +26,7 @@ AppPublisherURL={#AppURL}
|
|||||||
AppSupportURL={#AppURL}
|
AppSupportURL={#AppURL}
|
||||||
AppUpdatesURL={#AppURL}
|
AppUpdatesURL={#AppURL}
|
||||||
DefaultDirName={pf}\{#AppName}
|
DefaultDirName={pf}\{#AppName}
|
||||||
DefaultGroupName={#AppVerName}
|
DefaultGroupName={#AppName}
|
||||||
AllowNoIcons=true
|
AllowNoIcons=true
|
||||||
LicenseFile=LICENSE.txt
|
LicenseFile=LICENSE.txt
|
||||||
OutputDir=%(branch)s\dist\
|
OutputDir=%(branch)s\dist\
|
@ -493,10 +493,10 @@ class WindowsBuilder(object):
|
|||||||
Create an InnoSetup file pointing to the branch being built.
|
Create an InnoSetup file pointing to the branch being built.
|
||||||
"""
|
"""
|
||||||
self._print('Creating Inno Setup file...')
|
self._print('Creating Inno Setup file...')
|
||||||
input = open(os.path.join(self.script_path, 'OpenLP-2.0.iss.default'), 'r').read()
|
input = open(os.path.join(self.script_path, 'OpenLP.iss.default'), 'r').read()
|
||||||
output = input.replace('%(branch)s', self.branch_path)
|
output = input.replace('%(branch)s', self.branch_path)
|
||||||
output = output.replace('%(display_version)s', self.version)
|
output = output.replace('%(display_version)s', self.version)
|
||||||
outfile = open(os.path.join(self.script_path, 'OpenLP-2.0.iss'), 'w')
|
outfile = open(os.path.join(self.script_path, 'OpenLP.iss'), 'w')
|
||||||
outfile.write(output)
|
outfile.write(output)
|
||||||
outfile.close()
|
outfile.close()
|
||||||
|
|
||||||
@ -532,7 +532,7 @@ class WindowsBuilder(object):
|
|||||||
"""
|
"""
|
||||||
self._print('Running Inno Setup...')
|
self._print('Running Inno Setup...')
|
||||||
os.chdir(self.script_path)
|
os.chdir(self.script_path)
|
||||||
innosetup = Popen((self.innosetup, os.path.join(self.script_path, 'OpenLP-2.0.iss'), '/q'))
|
innosetup = Popen((self.innosetup, os.path.join(self.script_path, 'OpenLP.iss'), '/q'))
|
||||||
code = innosetup.wait()
|
code = innosetup.wait()
|
||||||
if code != 0:
|
if code != 0:
|
||||||
raise Exception('Error running Inno Setup')
|
raise Exception('Error running Inno Setup')
|
||||||
|
Loading…
Reference in New Issue
Block a user