From 8edfa800280d49c51c56e044d75b0858c20ed0a2 Mon Sep 17 00:00:00 2001 From: Joel de Vahl Date: Tue, 21 Oct 2008 15:59:32 +0000 Subject: Use SDL on OSX --- scripts/make_release.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/make_release.py') diff --git a/scripts/make_release.py b/scripts/make_release.py index e2314884..99e6d357 100644 --- a/scripts/make_release.py +++ b/scripts/make_release.py @@ -81,16 +81,18 @@ if use_bundle: bundle_content_dir = os.path.join(package_dir, "Teeworlds.app/Contents") bundle_bin_dir = os.path.join(bundle_content_dir, "MacOS") bundle_resource_dir = os.path.join(bundle_content_dir, "Resources") + bundle_framework_dir = os.path.join(bundle_content_dir, "Frameworks") os.mkdir(os.path.join(package_dir, "Teeworlds.app")) os.mkdir(bundle_content_dir) os.mkdir(bundle_bin_dir) os.mkdir(bundle_resource_dir) + os.mkdir(bundle_framework_dir) os.mkdir(os.path.join(bundle_resource_dir, "data")) copydir("data", bundle_resource_dir) shutil.copy("other/icons/Teeworlds.icns", bundle_resource_dir) shutil.copy(name+exe_ext, bundle_bin_dir) shutil.copy(name+"_srv"+exe_ext, bundle_bin_dir) - shutil.copy("osxlaunch"+exe_ext, bundle_bin_dir) + #copydir("SDL.framework", bundle_framework_dir) file(os.path.join(bundle_content_dir, "Info.plist"), "w").write(""" @@ -99,7 +101,7 @@ if use_bundle: CFBundleDevelopmentRegion English CFBundleExecutable - osxlaunch + teeworlds CFBundleIconFile Teeworlds CFBundleInfoDictionaryVersion -- cgit 1.4.1