mirror of
https://github.com/topjohnwu/Magisk
synced 2025-09-03 04:35:13 +00:00
Fix ci text color
This commit is contained in:
4
build.py
4
build.py
@@ -38,8 +38,8 @@ def vprint(str):
|
|||||||
is_windows = os.name == 'nt'
|
is_windows = os.name == 'nt'
|
||||||
EXE_EXT = '.exe' if is_windows else ''
|
EXE_EXT = '.exe' if is_windows else ''
|
||||||
|
|
||||||
no_color = False
|
no_color = 'CI' in os.environ and os.environ['CI'] == 'true'
|
||||||
if is_windows:
|
if not no_color and is_windows:
|
||||||
try:
|
try:
|
||||||
import colorama
|
import colorama
|
||||||
colorama.init()
|
colorama.init()
|
||||||
|
Reference in New Issue
Block a user