Use version file to populate bundle plist.
This commit is contained in:
parent
3209a4db09
commit
d070691531
2 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,8 @@ osgVersion = runOsgVersion('version-number')
|
||||||
$osgSoVersion=runOsgVersion('so-number')
|
$osgSoVersion=runOsgVersion('so-number')
|
||||||
$openThreadsSoVersion=runOsgVersion('openthreads-soversion-number')
|
$openThreadsSoVersion=runOsgVersion('openthreads-soversion-number')
|
||||||
|
|
||||||
|
VERSION = File.read("#{srcDir}/version").strip
|
||||||
|
|
||||||
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
|
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
|
||||||
|
|
||||||
$alutSourcePath='/Library/Frameworks/ALUT.framework'
|
$alutSourcePath='/Library/Frameworks/ALUT.framework'
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>org.flightgear.FlightGear</string>
|
<string>org.flightgear.FlightGear</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>2.0</string>
|
<string><%= VERSION %></string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>unstable nightly build</string>
|
<string>unstable nightly build</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
|
Loading…
Add table
Reference in a new issue