Changes to Info.plist creation, fix copyright.
Info.plist now generates correct copyright strings based on the current year.
This commit is contained in:
+3
-1
@@ -9,7 +9,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<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>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
@@ -26,6 +26,8 @@
|
|||||||
<string>MainMenu</string>
|
<string>MainMenu</string>
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
||||||
<string>NSApplication</string>
|
<string>NSApplication</string>
|
||||||
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
<string>©1996-<%= fgCurrentYear%>, The FlightGear Project</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule flightgear updated: bffb558921...ddc2a745c6
@@ -85,6 +85,9 @@ $frameworksDir=contents +"/Frameworks"
|
|||||||
resourcesDir=contents+"/Resources"
|
resourcesDir=contents+"/Resources"
|
||||||
osgPluginsDir=contents+"/PlugIns/osgPlugins-#{osgVersion}"
|
osgPluginsDir=contents+"/PlugIns/osgPlugins-#{osgVersion}"
|
||||||
|
|
||||||
|
# for writing copyright year to Info.plist
|
||||||
|
t = Time.new
|
||||||
|
fgCurrentYear = t.year
|
||||||
|
|
||||||
fgVersion = File.read("#{srcDir}/version").strip
|
fgVersion = File.read("#{srcDir}/version").strip
|
||||||
volName="\"FlightGear #{fgVersion}\""
|
volName="\"FlightGear #{fgVersion}\""
|
||||||
|
|||||||
+1
-1
Submodule maclauncher updated: 9e205366d1...f9d2f97206
Reference in New Issue
Block a user