mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Select SDL2.framework instead of SDL.framework on Mac OS X
This commit is contained in:
parent
8af1e59fc6
commit
4de7b45ea6
|
@ -132,8 +132,8 @@ if use_bundle:
|
|||
#shutil.copy("other/icons/Teeworlds.icns", clientbundle_resource_dir)
|
||||
shutil.copy(name+exe_ext, clientbundle_bin_dir)
|
||||
os.system("install_name_tool -change /opt/X11/lib/libfreetype.6.dylib @executable_path/../Frameworks/libfreetype.6.dylib " + binary_path)
|
||||
os.system("install_name_tool -change /Library/Frameworks/SDL.framework/SDL @executable_path/../Frameworks/SDL.framework/SDL " + binary_path)
|
||||
os.system("cp -R /Library/Frameworks/SDL.framework " + clientbundle_framework_dir)
|
||||
os.system("install_name_tool -change /Library/Frameworks/SDL2.framework/SDL2 @executable_path/../Frameworks/SDL2.framework/SDL2 " + binary_path)
|
||||
os.system("cp -R /Library/Frameworks/SDL2.framework " + clientbundle_framework_dir)
|
||||
os.system("cp /opt/X11/lib/libfreetype.6.dylib " + clientbundle_framework_dir)
|
||||
file(os.path.join(clientbundle_content_dir, "Info.plist"), "w").write("""
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
|
Loading…
Reference in a new issue