AUTOFIX for MacOS?
This commit is contained in:
parent
20ad513fae
commit
d054e1dd3e
1 changed files with 6 additions and 1 deletions
|
@ -73,7 +73,7 @@ def autofix(Modules):
|
||||||
print("\033[1;43m")
|
print("\033[1;43m")
|
||||||
print("Executing:", command , "\033[1;m")
|
print("Executing:", command , "\033[1;m")
|
||||||
os.system(command)
|
os.system(command)
|
||||||
|
|
||||||
print("\033[1;43m")
|
print("\033[1;43m")
|
||||||
command = "python3 -m pip install pycairo"
|
command = "python3 -m pip install pycairo"
|
||||||
print("Executing:", command , "\033[1;m")
|
print("Executing:", command , "\033[1;m")
|
||||||
|
@ -84,7 +84,12 @@ def autofix(Modules):
|
||||||
print("Executing:", command , "\033[1;m")
|
print("Executing:", command , "\033[1;m")
|
||||||
os.system(command)
|
os.system(command)
|
||||||
|
|
||||||
|
elif ostype == "Darwin": # MacOS
|
||||||
|
|
||||||
|
print("\033[1;43m")
|
||||||
|
command = "brew install pygobject3 gtk+3"
|
||||||
|
print("Executing:", command , "\033[1;m")
|
||||||
|
os.system(command)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# If it's not linux.
|
# If it's not linux.
|
||||||
|
|
Loading…
Reference in a new issue