mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-12 19:18:20 +00:00
used name variable to strings that include teeworlds statically
This commit is contained in:
parent
ec1a546ebd
commit
6620da58d3
|
@ -82,8 +82,8 @@ if include_src:
|
||||||
shutil.copy("configure.lua", package_dir)
|
shutil.copy("configure.lua", package_dir)
|
||||||
|
|
||||||
if use_bundle:
|
if use_bundle:
|
||||||
os.system("lipo -create -output teeworlds_srv teeworlds_srv_ppc teeworlds_srv_x86")
|
os.system("lipo -create -output "+name+"_srv "+name+"_srv"+"_ppc "+name+"_srv"+"_x86")
|
||||||
os.system("lipo -create -output teeworlds teeworlds_ppc teeworlds_x86")
|
os.system("lipo -create -output "+name+" "+name+"_ppc "+name+"_x86")
|
||||||
os.system("lipo -create -output serverlaunch serverlaunch_ppc serverlaunch_x86")
|
os.system("lipo -create -output serverlaunch serverlaunch_ppc serverlaunch_x86")
|
||||||
|
|
||||||
# create Teeworlds appfolder
|
# create Teeworlds appfolder
|
||||||
|
@ -139,7 +139,7 @@ if use_bundle:
|
||||||
copydir("data/maps", serverbundle_resource_dir)
|
copydir("data/maps", serverbundle_resource_dir)
|
||||||
shutil.copy("other/icons/Teeworlds_srv.icns", serverbundle_resource_dir)
|
shutil.copy("other/icons/Teeworlds_srv.icns", serverbundle_resource_dir)
|
||||||
shutil.copy(name+"_srv"+exe_ext, serverbundle_bin_dir)
|
shutil.copy(name+"_srv"+exe_ext, serverbundle_bin_dir)
|
||||||
shutil.copy("serverlaunch"+exe_ext, serverbundle_bin_dir + "/teeworlds_server")
|
shutil.copy("serverlaunch"+exe_ext, serverbundle_bin_dir + "/"+name+"_server")
|
||||||
file(os.path.join(serverbundle_content_dir, "Info.plist"), "w").write("""
|
file(os.path.join(serverbundle_content_dir, "Info.plist"), "w").write("""
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
|
Loading…
Reference in a new issue