Skip to content

Commit 0879901

Browse files
eun0115techyminati
authored andcommitted
gsi.py: Update gsi.py
1 parent 931a026 commit 0879901

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

‎gsi.py‎

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,34 @@
66
print ("==========================================")
77
print (" Welcome to sGSI Building Script ")
88
print ("==========================================")
9-
n=input("Press Y to Continue, N to Exit: ")
9+
n=input("Press Y to Proceed, N to Abort: ")
1010
if (n=="Y") or (n=="y") :
1111
print("Cloning ErfanGSIs Sourcecode")
1212
print (" Warning: this is a Fork of ErfanGSIs, Adapted for our Usage")
1313
os.system('git clone --recurse-submodules https://github.com/sinhaaryan03/ErfanGSIs')
1414
os.system('sudo chmod -R 777 ErfanGSIs')
15+
import time
1516
print ("Initialising enviroment for GSI Building")
17+
time.sleep(5)
18+
print ("Enviroment Initialised")
1619
os.system('cd ErfanGSIs && sudo bash setup.sh')
1720
print("==========================================")
18-
print(" Ready to Build GSI")
21+
print(" Are you ready to Build GSI?")
1922
print("==========================================")
2023
os.system('sudo bash assets/gsi.sh')
24+
n=input("Press Y to Proceed, N to Abort: ")
25+
if (n=="Y") or (n=="y") :
26+
import time
27+
print("==========================================")
28+
print(" Initialising to Build GSI")
29+
print("==========================================")
30+
time.sleep(5)
2131
print("==========================================")
2232
print(" GSI Build Successfully, find it On ErfanGSIs/output ")
2333
print("==========================================")
2434
else:
25-
print(" Thanks , If you want to restart GSI Building, re-run this script")
35+
import time
36+
time.sleep(5)
37+
print("Thanks for using the Tool")
38+
print("If you want to restart GSI Building")
39+
print("re-run this script")

0 commit comments

Comments
 (0)