mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-17 23:27:49 -06:00
fix: pick a Python that can do HTTPS
This commit is contained in:
1 parent
4d46587693
commit
bcedd22a9e
7 files changed
+118
-13
No files matched your search
+1
-1
@@ -84,7 +84,7 @@
|
||||
param($candidate)
|
||||
if (-not $candidate) { return $false }
|
||||
$arguments = $candidate[1]
|
||||
& $candidate[0].Source @arguments -c "import sys; raise SystemExit(sys.version_info < (3, 8))" | Out-Null
|
||||
& $candidate[0].Source @arguments -c "import sys, ssl, unicodedata, zlib; raise SystemExit(sys.version_info < (3, 8))" 2>$null | Out-Null
|
||||
return ($LASTEXITCODE -eq 0)
|
||||
}
|
||||
$needPython = "Python 3.8 or newer is required. Install it with " +
|
||||
|
||||
Reference in new issue
Block a user