This commit is contained in:
Micah Lee 2020-11-09 18:38:55 -08:00
parent c83c37d53b
commit c7cec56408
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ def main():
desktop_dir = os.path.join(root, "desktop")
print("○ Clean up from last build")
if os.path.exist(os.path.join(cli_dir, "dist")):
if os.path.exists(os.path.join(cli_dir, "dist")):
shutil.rmtree(os.path.join(cli_dir, "dist"))
if os.path.exists(os.path.join(desktop_dir, "linux")):
shutil.rmtree(os.path.join(desktop_dir, "linux"))

View File

@ -34,7 +34,7 @@ def main():
desktop_dir = os.path.join(root, "desktop")
print("○ Clean up from last build")
if os.path.exist(os.path.join(cli_dir, "dist")):
if os.path.exists(os.path.join(cli_dir, "dist")):
shutil.rmtree(os.path.join(cli_dir, "dist"))
if os.path.exists(os.path.join(desktop_dir, "macOS")):
shutil.rmtree(os.path.join(desktop_dir, "macOS"))

View File

@ -24,7 +24,7 @@ def main():
desktop_dir = os.path.join(root, "desktop")
print("○ Clean up from last build")
if os.path.exist(os.path.join(cli_dir, "dist")):
if os.path.exists(os.path.join(cli_dir, "dist")):
shutil.rmtree(os.path.join(cli_dir, "dist"))
if os.path.exists(os.path.join(desktop_dir, "windows")):
shutil.rmtree(os.path.join(desktop_dir, "windows"))