Skip to content

Commit

Permalink
v2 IS READY!!!!!!!!!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxiereal authored Nov 30, 2022
1 parent 69a7410 commit 445f5b7
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions XTBox.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
from os import startfile, system # Standard Python3 libs
from time import sleep
from timeit import default_timer
from os import startfile, system
from urllib.request import urlretrieve
from os.path import isfile
from time import sleep
from sys import exit
from webbrowser import open as webopen
from os.path import isfile
from platform import release
# This has to be here
start = default_timer()
try:
# Custom / Community made libs
from psutil import cpu_count, cpu_percent, disk_usage, virtual_memory
Expand Down Expand Up @@ -510,7 +513,7 @@ def p3():
f"│ │ │ │ [4] BetterDiscord │\n",
f"│ │ │ │ │\n",
f"│ │ │ │ │\n",
f"│ │ │ │ // Sorry for so little files\n",
f"│ │ │ │ // Sorry for so little tools\n",
f"├──────────────────────────┴────────────────────────┴────────────────────────────────┴────────────────────────────────┤\n",
f"│ Ex.: 'D2' ─ HoneCtrl │ N ─ Next Page │ 99 ─ Exit │ H - Help 3/3 │\n",
f"└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘")
Expand Down Expand Up @@ -580,7 +583,7 @@ def p3():
# Check for internet connection BEFORE trying to update the program.
# This should fix some issues with the updater.

isdev = True
isdev = False

if ping("github.com") == None or False:
# No internet access, the program will not crash.
Expand Down Expand Up @@ -611,8 +614,7 @@ def p3():
Errorhd = color("DevBuild ", 3)

# Set color vars
printer.lprint("Setting color vars...\n"
"Global...")
printer.lprint("Setting vars...")
xtoolboxvv1asdfghjzz = color("XToolBox v"+version+pre, 2)
# ISSUES FIXED, STOP ASKING
try:
Expand Down Expand Up @@ -680,4 +682,6 @@ def p3():

# Run normal UI (Page 1)
printer.lprint("Starting...")
printer.lprint("Loaded in " + str(str(default_timer() - start).split(".")[0]) + "s")
sleep(0.55)
p1()

0 comments on commit 445f5b7

Please sign in to comment.