aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdesktop/package/linux/build-appimage.py2
-rwxr-xr-xdesktop/package/macos/build.py2
-rw-r--r--desktop/package/windows/build.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/desktop/package/linux/build-appimage.py b/desktop/package/linux/build-appimage.py
index 30c5de94..73164b55 100755
--- a/desktop/package/linux/build-appimage.py
+++ b/desktop/package/linux/build-appimage.py
@@ -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"))
diff --git a/desktop/package/macos/build.py b/desktop/package/macos/build.py
index f9af29c5..0ba23129 100755
--- a/desktop/package/macos/build.py
+++ b/desktop/package/macos/build.py
@@ -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"))
diff --git a/desktop/package/windows/build.py b/desktop/package/windows/build.py
index c4d1fd89..9dd467f2 100644
--- a/desktop/package/windows/build.py
+++ b/desktop/package/windows/build.py
@@ -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"))