add 1 second pause before backup for UX
This commit is contained in:
parent
f7c4f52eb3
commit
3f56ad069f
@ -136,8 +136,9 @@ if platform.system() == "Linux":
|
|||||||
modfolder = mcfolder + '/mods'
|
modfolder = mcfolder + '/mods'
|
||||||
print("Changed current working directory to '" + str(mcfolder) + "'")
|
print("Changed current working directory to '" + str(mcfolder) + "'")
|
||||||
|
|
||||||
print("Backing up minecraft install...")
|
time.sleep(1)
|
||||||
print()
|
print()
|
||||||
|
print("Backing up minecraft install...")
|
||||||
print("Don't close the window! This'll take a moment...")
|
print("Don't close the window! This'll take a moment...")
|
||||||
|
|
||||||
compress_tar(mcfolder, "mod-backup.tar.gz")
|
compress_tar(mcfolder, "mod-backup.tar.gz")
|
||||||
@ -149,8 +150,9 @@ elif platform.system() == "Windows":
|
|||||||
mcfolder = str(Path.cwd())
|
mcfolder = str(Path.cwd())
|
||||||
print("Changed current working directory to '" + str(mcfolder) + "'")
|
print("Changed current working directory to '" + str(mcfolder) + "'")
|
||||||
|
|
||||||
print("Backing up minecraft install...")
|
time.sleep(1)
|
||||||
print()
|
print()
|
||||||
|
print("Backing up minecraft install...")
|
||||||
print("Don't close the window! This'll take a moment...")
|
print("Don't close the window! This'll take a moment...")
|
||||||
|
|
||||||
modfolder = str(mcfolder) + '/mods'
|
modfolder = str(mcfolder) + '/mods'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user