Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)
Ejemplo n.º 3
0
 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)
Ejemplo n.º 4
0
 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)
Ejemplo n.º 5
0
 def workshop_build_item(self, path):
     args = [
         "steamcmd", "+login", self.account, self.password,
         "+workshop_build_item", path, "+quit"
     ]
     out = bash.run(args)
     print(out)
Ejemplo n.º 6
0
 def run_app_build(self, path):
     args = [
         "steamcmd", "+login", self.account, self.password,
         "+run_app_build", path, "+quit"
     ]
     out = bash.run(args)
     print(out)
Ejemplo n.º 7
0
 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)
Ejemplo n.º 8
0
 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)
Ejemplo n.º 9
0
 def login(self):
     args = ["steamcmd", "+login", self.account, self.password, "+quit"]
     out = bash.run(args)
     print(out)
Ejemplo n.º 10
0
 def set_steam_guard_code(self, guard_code):
     args = ["steamcmd", "+set_steam_guard_code", guard_code, "+quit"]
     out = bash.run(args)
     print(out)