MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / get_godot_platform

Function get_godot_platform

prepop_cache.py:60–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58GITLAB_PRECACHE_HEADER_START = "// __GITLAB_PRECACHE__"
59
60def get_godot_platform():
61 if sys.platform.startswith("win"):
62 return "windows"
63 elif sys.platform.startswith("linux"):
64 return "linux"
65 elif sys.platform.startswith("darwin"):
66 return "macos"
67 else:
68 raise ValueError(f"Unsupported platform: {sys.platform}")
69
70def get_godot_arch():
71 # if x86_64, return "x86_64"

Callers 1

prepop_cache.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected