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