Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/tools/dist/build-osx-bundle.py
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
# Only pyrogenesis for now, until we find a way to load | # Only pyrogenesis for now, until we find a way to load | ||||
# multiple binaries from one app bundle | # multiple binaries from one app bundle | ||||
# TODO: Would be nicer if we could set this path in premake | # TODO: Would be nicer if we could set this path in premake | ||||
shutil.copy("binaries/system/pyrogenesis", BUNDLE_BIN) | shutil.copy("binaries/system/pyrogenesis", BUNDLE_BIN) | ||||
print("Copying libs") | print("Copying libs") | ||||
shutil.copy("binaries/system/libAtlasUI.dylib", BUNDLE_FRAMEWORKS) | shutil.copy("binaries/system/libAtlasUI.dylib", BUNDLE_FRAMEWORKS) | ||||
shutil.copy("binaries/system/libCollada.dylib", BUNDLE_FRAMEWORKS) | shutil.copy("binaries/system/libCollada.dylib", BUNDLE_FRAMEWORKS) | ||||
shutil.copy("binaries/system/libMoltenVK.dylib", BUNDLE_FRAMEWORKS) | |||||
if not args.dev: | if not args.dev: | ||||
print("Copying archived game data from archives/") | print("Copying archived game data from archives/") | ||||
for mod in glob.glob("archives/*/"): | for mod in glob.glob("archives/*/"): | ||||
print(f"Copying {mod}") | print(f"Copying {mod}") | ||||
shutil.copytree(mod, BUNDLE_RESOURCES + "/data/mods/" + mod.replace("archives/", "")) | shutil.copytree(mod, BUNDLE_RESOURCES + "/data/mods/" + mod.replace("archives/", "")) | ||||
else: | else: | ||||
print("Symlinking mods") | print("Symlinking mods") | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator