1
This commit is contained in:
@@ -150,6 +150,7 @@ def launchSuperTimer():
|
|||||||
SuperTimer = SuperTimerDir + "SuperTimer.py"
|
SuperTimer = SuperTimerDir + "SuperTimer.py"
|
||||||
urllib.request.urlretrieve(SuperTimerUrl, SuperTimer)
|
urllib.request.urlretrieve(SuperTimerUrl, SuperTimer)
|
||||||
|
|
||||||
|
os.system('cd' + SuperTimerDir)
|
||||||
os.system("python " + SuperTimer)
|
os.system("python " + SuperTimer)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ except:
|
|||||||
subprocess.check_call([sys.executable, "-m", "pip", "install", 'playsound'])
|
subprocess.check_call([sys.executable, "-m", "pip", "install", 'playsound'])
|
||||||
from playsound import playsound
|
from playsound import playsound
|
||||||
|
|
||||||
if not os.path.isfile('OfficialProjects\SuperTimer\alarm.mp3'):
|
if not os.path.isfile('alarm.mp3'):
|
||||||
urllib.request.urlretrieve("https://github.com/BarsTiger/KOTIKOTapps_download_repo/blob/master/OfficialProjects/SuperTimer/alarm.mp3?raw=true", "OfficialProjects\SuperTimer\alarm.mp3")
|
urllib.request.urlretrieve("https://github.com/BarsTiger/KOTIKOTapps_download_repo/blob/master/OfficialProjects/SuperTimer/alarm.mp3?raw=true", 'alarm.mp3')
|
||||||
|
|
||||||
print("You can change alarm sound: just reneame your sound to alarm.mp3 and copy it to SuperTimer folder (to get original just delete your file)")
|
print("You can change alarm sound: just reneame your sound to alarm.mp3 and copy it to SuperTimer folder (to get original just delete your file)")
|
||||||
superSecond = float(input("Print how many real seconds will be in superSecond: "))
|
superSecond = float(input("Print how many real seconds will be in superSecond: "))
|
||||||
|
|||||||
Reference in New Issue
Block a user