Tweak Mac release packaging script, getting better.
This commit is contained in:
parent
b221b59dbc
commit
3045eb8661
@ -65,7 +65,7 @@ puts "Creating directory structure"
|
|||||||
`mkdir -p #{osgPluginsDir}`
|
`mkdir -p #{osgPluginsDir}`
|
||||||
|
|
||||||
puts "Copying binaries"
|
puts "Copying binaries"
|
||||||
bins = ['fgfs', 'terrasync', 'fgjs']
|
bins = ['fgfs', 'terrasync', 'fgjs', 'fgviewer']
|
||||||
bins.each do |b|
|
bins.each do |b|
|
||||||
`cp #{prefixDir}/bin/#{b} #{macosDir}/#{b}`
|
`cp #{prefixDir}/bin/#{b} #{macosDir}/#{b}`
|
||||||
fix_install_names("#{macosDir}/#{b}")
|
fix_install_names("#{macosDir}/#{b}")
|
||||||
@ -94,7 +94,11 @@ end
|
|||||||
|
|
||||||
# Macflightgear launcher
|
# Macflightgear launcher
|
||||||
puts "Copying Macflightgear launcher files"
|
puts "Copying Macflightgear launcher files"
|
||||||
`rsync -a --exclude=\".svn\" macflightgear/* #{resourcesDir}`
|
|
||||||
|
Dir.chdir "macflightgear" do
|
||||||
|
`cp FlightGear #{macosDir}`
|
||||||
|
`rsync -a --exclude=\".svn\" *.rb *.lproj *.sh *.tiff #{resourcesDir}`
|
||||||
|
end
|
||||||
|
|
||||||
# Info.plist
|
# Info.plist
|
||||||
template = File.read("Info.plist.in")
|
template = File.read("Info.plist.in")
|
||||||
|
Loading…
Reference in New Issue
Block a user