1
0
Fork 0

Changes to Info.plist creation, fix copyright.

Info.plist now generates correct copyright strings based on the current year.
This commit is contained in:
James Turner 2012-08-28 13:47:37 +01:00
parent f1f4fcb0d8
commit 81f5a48973
4 changed files with 8 additions and 3 deletions

View file

@ -9,7 +9,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>FlightGear, the open-source flight simulator</string>
<string>FlightGear, the open-source flight simulator, <%= fgVersion %>. ©1996-<%= fgCurrentYear%>, The FlightGear Project</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
@ -26,6 +26,8 @@
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHumanReadableCopyright</key>
<string>©1996-<%= fgCurrentYear%>, The FlightGear Project</string>
</dict>
</plist>

@ -1 +1 @@
Subproject commit bffb5589215182cb21ab2b2697ae7bf000db1412
Subproject commit ddc2a745c67d138b34e3d95948d341341c85965d

View file

@ -85,6 +85,9 @@ $frameworksDir=contents +"/Frameworks"
resourcesDir=contents+"/Resources"
osgPluginsDir=contents+"/PlugIns/osgPlugins-#{osgVersion}"
# for writing copyright year to Info.plist
t = Time.new
fgCurrentYear = t.year
fgVersion = File.read("#{srcDir}/version").strip
volName="\"FlightGear #{fgVersion}\""

@ -1 +1 @@
Subproject commit 9e205366d1ad5f0d2484533ec9effef98c7c8e97
Subproject commit f9d2f97206bbbeebc4b5690c1d03cda5ce8e97ae