diff --git a/Tools/build_and_publish.py b/Tools/build_and_publish.py index e1ccaa08..9fdb9fc1 100644 --- a/Tools/build_and_publish.py +++ b/Tools/build_and_publish.py @@ -18,6 +18,7 @@ stdout.reconfigure(encoding='utf-8') if __name__ == "__main__": parser = argparse.ArgumentParser(description='Build and Package ScreenPlay') + parser.add_argument('-skip_publish', '-skp', action="store_true", dest="skip_publish", help="Steam password") parser.add_argument('-steam_password', '-sp', action="store", dest="steam_password", help="Steam password") parser.add_argument('-hosting_username','-hu', action="store", dest="hosting_username", help="ssh username") parser.add_argument('-hosting_password', '-hp', action="store", dest="hosting_password", help="ssh password") @@ -110,6 +111,10 @@ if __name__ == "__main__": build_config.create_installer = "OFF" build_result = build.execute(build_config) + if args.skip_publish: + print("Skip publishing.") + sys.exit(0) + # Make sure to reset to tools path os.chdir(tools_path) steam_publish.publish( diff --git a/Tools/macos_lipo.py b/Tools/macos_lipo.py index 8d1e83ee..adef2d1a 100644 --- a/Tools/macos_lipo.py +++ b/Tools/macos_lipo.py @@ -31,7 +31,7 @@ def run_lipo() : # Looks like it is ok the contain symlinks otherwise we get these errors for qml plugins: # bundle format is ambiguous (could be app or framework) # https://bugreports.qt.io/browse/QTBUG-101338 - run("cp -a build-arm64-osx-release build-universal-osx-release",root_path) + run("cp -a build-x64-osx-release build-universal-osx-release",root_path) apps = ["ScreenPlay","ScreenPlayWallpaper", "ScreenPlayWidget"] for app in apps: