mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-15 03:07:24 +00:00
Check Python 3.8+
This commit is contained in:
4
build.py
4
build.py
@@ -48,8 +48,8 @@ if not no_color and is_windows:
|
|||||||
no_color = True
|
no_color = True
|
||||||
|
|
||||||
# Environment checks
|
# Environment checks
|
||||||
if not sys.version_info >= (3, 6):
|
if not sys.version_info >= (3, 8):
|
||||||
error('Requires Python 3.6+')
|
error('Requires Python 3.8+')
|
||||||
|
|
||||||
if 'ANDROID_SDK_ROOT' not in os.environ:
|
if 'ANDROID_SDK_ROOT' not in os.environ:
|
||||||
error('Please add Android SDK path to ANDROID_SDK_ROOT environment variable!')
|
error('Please add Android SDK path to ANDROID_SDK_ROOT environment variable!')
|
||||||
|
Reference in New Issue
Block a user