mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-06 19:12:30 +01:00
Add build_and_publish window script none steam version
Now: 1. Build steamless version 2. Upload to FTP 3. Build Steam version 4. Upload to Steam
This commit is contained in:
parent
aeae7ce07e
commit
cde02c28e7
@ -75,8 +75,12 @@ if __name__ == "__main__":
|
||||
build_config.bin_dir = os.path.join(build_config.root_path,'build-universal-osx-release/bin/')
|
||||
print(f"Change binary dir to: {build_config.bin_dir}")
|
||||
macos_sign.sign(build_config=build_config)
|
||||
else:
|
||||
sys.exit(0)
|
||||
|
||||
if platform.system() == "Windows":
|
||||
# Steamless version first
|
||||
build_config.build_architecture = "x64"
|
||||
build_config.build_steam = "OFF"
|
||||
build_result = build.execute(build_config)
|
||||
|
||||
ssh = paramiko.SSHClient()
|
||||
@ -101,6 +105,11 @@ if __name__ == "__main__":
|
||||
sftp.close()
|
||||
ssh.close()
|
||||
|
||||
# Now build the steam version
|
||||
build_config.build_steam = "ON"
|
||||
build_config.create_installer = "OFF"
|
||||
build_result = build.execute(build_config)
|
||||
|
||||
# Make sure to reset to tools path
|
||||
os.chdir(tools_path)
|
||||
steam_publish.publish(
|
||||
|
Loading…
Reference in New Issue
Block a user