diff --git a/other/icons/DDRace_srv.icns b/other/icons/DDRace-Server.icns similarity index 100% rename from other/icons/DDRace_srv.icns rename to other/icons/DDRace-Server.icns diff --git a/other/icons/DDRace_srv.ico b/other/icons/DDRace-Server.ico similarity index 100% rename from other/icons/DDRace_srv.ico rename to other/icons/DDRace-Server.ico diff --git a/other/icons/teeworlds_srv_cl.rc b/other/icons/teeworlds_srv_cl.rc index 8d6760502..5dfeb8f0a 100644 --- a/other/icons/teeworlds_srv_cl.rc +++ b/other/icons/teeworlds_srv_cl.rc @@ -1 +1 @@ -50h ICON "DDRace_srv.ico" +50h ICON "DDRace-Server.ico" diff --git a/other/icons/teeworlds_srv_gcc.rc b/other/icons/teeworlds_srv_gcc.rc index 7d1d885d2..15a10bbc7 100644 --- a/other/icons/teeworlds_srv_gcc.rc +++ b/other/icons/teeworlds_srv_gcc.rc @@ -1 +1 @@ -ID ICON "DDRace_srv.ico" +ID ICON "DDRace-Server.ico" diff --git a/scripts/make_release.py b/scripts/make_release.py index d8836d2e8..9e86b0886 100644 --- a/scripts/make_release.py +++ b/scripts/make_release.py @@ -85,23 +85,23 @@ if include_src: shutil.copy("configure.lua", package_dir) if use_bundle: - os.system("lipo -create -output "+name+"_srv "+name+"_srv"+"_ppc "+name+"_srv"+"_x86") + os.system("lipo -create -output "+name+"-Server "+name+"-Server"+"_ppc "+name+"-Server"+"_x86") os.system("lipo -create -output "+name+" "+name+"_ppc "+name+"_x86") os.system("lipo -create -output serverlaunch serverlaunch_ppc serverlaunch_x86") # create Teeworlds appfolder - clientbundle_content_dir = os.path.join(package_dir, "Teeworlds.app/Contents") + clientbundle_content_dir = os.path.join(package_dir, "DDRace.app/Contents") clientbundle_bin_dir = os.path.join(clientbundle_content_dir, "MacOS") clientbundle_resource_dir = os.path.join(clientbundle_content_dir, "Resources") clientbundle_framework_dir = os.path.join(clientbundle_content_dir, "Frameworks") - os.mkdir(os.path.join(package_dir, "Teeworlds.app")) + os.mkdir(os.path.join(package_dir, "DDRace.app")) os.mkdir(clientbundle_content_dir) os.mkdir(clientbundle_bin_dir) os.mkdir(clientbundle_resource_dir) os.mkdir(clientbundle_framework_dir) os.mkdir(os.path.join(clientbundle_resource_dir, "data")) copydir("data", clientbundle_resource_dir) - shutil.copy("other/icons/Teeworlds.icns", clientbundle_resource_dir) + shutil.copy("other/icons/DDRace.icns", clientbundle_resource_dir) shutil.copy(name+exe_ext, clientbundle_bin_dir) os.system("cp -R /Library/Frameworks/SDL.framework " + clientbundle_framework_dir) file(os.path.join(clientbundle_content_dir, "Info.plist"), "w").write(""" @@ -112,9 +112,9 @@ if use_bundle: CFBundleDevelopmentRegion English CFBundleExecutable - teeworlds + DDRace CFBundleIconFile - Teeworlds + DDRace CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType @@ -129,10 +129,10 @@ if use_bundle: file(os.path.join(clientbundle_content_dir, "PkgInfo"), "w").write("APPL????") # create Teeworlds Server appfolder - serverbundle_content_dir = os.path.join(package_dir, "Teeworlds Server.app/Contents") + serverbundle_content_dir = os.path.join(package_dir, "DDRace-Server.app/Contents") serverbundle_bin_dir = os.path.join(serverbundle_content_dir, "MacOS") serverbundle_resource_dir = os.path.join(serverbundle_content_dir, "Resources") - os.mkdir(os.path.join(package_dir, "Teeworlds Server.app")) + os.mkdir(os.path.join(package_dir, "DDRace-Server.app")) os.mkdir(serverbundle_content_dir) os.mkdir(serverbundle_bin_dir) os.mkdir(serverbundle_resource_dir) @@ -140,7 +140,7 @@ if use_bundle: os.mkdir(os.path.join(serverbundle_resource_dir, "data/maps")) os.mkdir(os.path.join(serverbundle_resource_dir, "data/mapres")) copydir("data/maps", serverbundle_resource_dir) - shutil.copy("other/icons/Teeworlds_srv.icns", serverbundle_resource_dir) + shutil.copy("other/icons/DDRace-Server.icns", serverbundle_resource_dir) shutil.copy(name+"-Server"+exe_ext, serverbundle_bin_dir) shutil.copy("serverlaunch"+exe_ext, serverbundle_bin_dir + "/"+name+"_server") file(os.path.join(serverbundle_content_dir, "Info.plist"), "w").write(""" @@ -151,9 +151,9 @@ if use_bundle: CFBundleDevelopmentRegion English CFBundleExecutable - teeworlds_server + DDRace_Server CFBundleIconFile - Teeworlds_srv + DDRace-Server CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType @@ -185,7 +185,7 @@ if use_gz: if use_dmg: print("making disk image") os.system("rm -f %s.dmg %s_temp.dmg" % (package, package)) - os.system("hdiutil create -srcfolder %s -volname Teeworlds -quiet %s_temp" % (package_dir, package)) + os.system("hdiutil create -srcfolder %s -volname DDRace -quiet %s_temp" % (package_dir, package)) os.system("hdiutil convert %s_temp.dmg -format UDBZ -o %s.dmg -quiet" % (package, package)) os.system("rm -f %s_temp.dmg" % package)