XP compatible launcher

Building will have to be sorted but it's a start, please test as I don't
have an XP machine anymore.
This commit is contained in:
Martin Kemp
2014-01-21 18:25:24 +00:00
parent 4120875e33
commit 8303a7acbc
4 changed files with 100 additions and 3 deletions

View File

@ -98,11 +98,26 @@ get_file('msysgit', 'label:Type-Archive label:Featured')
puts 'Creating executable'
puts 'Build for XP? (Default: No)'
if gets.downcase =='yes' or 'y'
XP = true
elsif gets.downcase == 'no' or 'n'
XP = false
else
puts 'Defaulting to non-XP build'
XP = false
end
if build_exe
Dir.chdir('../launcher')
status = system('msbuild /p:Configuration=Release')
if XP
puts 'Building XP Compatible Launcher...'
status = system('msbuild /p:Configuration=ReleaseXP')
else
status = system('msbuild /p:Configuration=Release')
end
unless status
puts 'Looks like the build failied'
puts 'Looks like the build failed'
exit(1)
end
end