Buckets:

download
raw
1.28 kB
from __future__ import annotations
import logging
import multiprocessing
import os
import sys
logging.basicConfig(level=logging.WARNING)
def main() -> None:
multiprocessing.freeze_support()
import randovania
randovania.setup_logging("INFO", None, quiet=True)
logging.debug("Starting Randovania...")
if randovania.VERSION == randovania.UNKNOWN_VERSION or randovania.GIT_HASH == randovania.UNKNOWN_GIT_HASH:
logging.warning(
"Couldn't determine the current version. If you're running from source, "
"do you have a git repository and tags present?"
)
# Add our local dotnet to path if it exists, which it only does for portable ones.
dotnet_path = randovania.get_data_path().joinpath("dotnet_runtime")
if randovania.is_frozen() and dotnet_path.exists():
os.environ["PATH"] = f"{dotnet_path}{os.pathsep}{os.environ['PATH']}"
os.environ["DOTNET_ROOT"] = f"{dotnet_path}"
# This one is seemingly needed while we're still on dotnet6 to avoid some edge cases
os.environ["DOTNET_MULTILEVEL_LOOKUP"] = "0"
logging.debug("Portable dotnet path exists, added as DOTNET_ROOT.")
from randovania import cli
cli.run_cli(sys.argv)
if __name__ == "__main__":
main()

Xet Storage Details

Size:
1.28 kB
·
Xet hash:
db883764ba362c1966ec352211108282e01257e12693e0948f2ec8f3bb9705ae

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.