mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-25 02:55:33 +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'
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user