mirror of
https://github.com/projectPiki/pikmin2.git
synced 2025-02-25 08:11:26 +00:00
bail on msys2 python
This commit is contained in:
parent
911b5b1978
commit
3c91680d55
@ -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"
|
||||
|
||||
|
||||
|
@ -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/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user