bail on msys2 python

This commit is contained in:
EpochFlame 2023-12-19 16:38:56 -05:00
parent 911b5b1978
commit 3c91680d55
2 changed files with 15 additions and 0 deletions

View File

@ -5,6 +5,14 @@ import stat
import platform
from pathlib import Path
if sys.platform == "cygwin":
sys.exit(
f"Cygwin/MSYS2 is not supported."
f"\nPlease use native Windows Python instead."
f"\nPlease run pacman -R python in msys2."
f"\n(Current path: {sys.executable})"
)
REPO = "https://github.com/encounter/decomp-toolkit"

View File

@ -7,6 +7,13 @@ import tempfile
import tarfile
import zstandard
if sys.platform == "cygwin":
sys.exit(
f"Cygwin/MSYS2 is not supported."
f"\nPlease use native Windows Python instead."
f"\nPlease run pacman -R python in msys2."
f"\n(Current path: {sys.executable})"
)
# TODO: Less hardcoded elements
REPO = "https://wii.leseratte10.de/devkitPro/devkitPPC/r44%20%282023-08-07%29/"