def run_unity_linux64_build(self, output_file_path): args = [ "time", self.UNITY_PATH, "-quit -batchmode", "-buildLinux64Player", output_file_path + ".linux64" ] out = bash.run(args) print(out)
def run_unity_win64_build(self, output_file_path): args = [ "time", self.UNITY_PATH, "-quit -batchmode", "-buildWindows64Player", output_file_path + ".exe" ] out = bash.run(args) print(out)
def app_config_print(self, app_id): args = [ "steamcmd", "+login", self.account, self.password, "+app_config_print", app_id, "+quit" ] out = bash.run(args) print(out)
def run_unity_osx_build(self, output_file_path): args = [ "time", self.UNITY_PATH, "-quit -batchmode", "-buildOSXUniversalPlayer", output_file_path + ".app" ] out = bash.run(args) print(out)
def workshop_build_item(self, path): args = [ "steamcmd", "+login", self.account, self.password, "+workshop_build_item", path, "+quit" ] out = bash.run(args) print(out)
def run_app_build(self, path): args = [ "steamcmd", "+login", self.account, self.password, "+run_app_build", path, "+quit" ] out = bash.run(args) print(out)
def run_unity_webgl_build(self, output): args = [ "time", self.UNITY_PATH, "-quit -batchmode", "-logFile", "{}/stdout.log".format(self.output_dir), "-executeMethod WebGLBuilder.build", "-zarg:output", output ] out = bash.run(args) print(out)
def run_unity_build(self, build_target: str, output: str): args = [ "time", self.UNITY_PATH, "-quit -batchmode", "-logFile", "{}/stdout.log".format(self.output_dir), "-buildTarget", build_target, output ] out = bash.run(args) print(out)
def login(self): args = ["steamcmd", "+login", self.account, self.password, "+quit"] out = bash.run(args) print(out)
def set_steam_guard_code(self, guard_code): args = ["steamcmd", "+set_steam_guard_code", guard_code, "+quit"] out = bash.run(args) print(out)