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

Merge with packaging trunk.

This commit is contained in:
Martin Zibricky 2013-02-03 15:54:34 +01:00
commit f59703015a
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define AppName "OpenLP" #define AppName "OpenLP"
#define AppVerName "OpenLP 2.0" #define AppVerName "OpenLP %(display_version)s"
#define AppPublisher "OpenLP Developers" #define AppPublisher "OpenLP Developers"
#define AppURL "http://openlp.org/" #define AppURL "http://openlp.org/"
#define AppExeName "OpenLP.exe" #define AppExeName "OpenLP.exe"

View File

@ -511,6 +511,7 @@ class WindowsBuilder(object):
input = open(os.path.join(self.script_path, input = open(os.path.join(self.script_path,
u'OpenLP-2.0.iss.default'), u'r').read() u'OpenLP-2.0.iss.default'), u'r').read()
output = input.replace(u'%(branch)s', self.branch_path) output = input.replace(u'%(branch)s', self.branch_path)
output = output.replace(u'%(display_version)s', self.version)
outfile = open(os.path.join(self.script_path, outfile = open(os.path.join(self.script_path,
u'OpenLP-2.0.iss'), u'w') u'OpenLP-2.0.iss'), u'w')
outfile.write(output) outfile.write(output)