mirror of
https://github.com/Escartem/AnimeWwise.git
synced 2026-06-05 07:50:23 +08:00
handle tools
This commit is contained in:
@@ -15,6 +15,9 @@ spinner = Halo(text="spinner", spinner={'interval': 100, 'frames': ['◜', '◠'
|
||||
def main():
|
||||
# Extract tools on first launch
|
||||
if not os.path.exists("tools"):
|
||||
if not os.path.exists("tools.zip"):
|
||||
print("Please place tools.zip in the project directory and run this program again, you can get the file on the project page")
|
||||
exit()
|
||||
spinner.text = "Extracting tools for first launch"
|
||||
spinner.start()
|
||||
with zipfile.ZipFile(path("tools.zip"), "r") as zip:
|
||||
|
||||
Reference in New Issue
Block a user