From ba6572c3cfeffb967905e791af82afdc6ed4cea2 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Fri, 23 Aug 2024 01:51:45 +0200 Subject: [PATCH] Correcting the removal error before finalizing appimage. --- src/loaih/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loaih/build.py b/src/loaih/build.py index a01eabc..274cd16 100644 --- a/src/loaih/build.py +++ b/src/loaih/build.py @@ -624,7 +624,7 @@ class Build(): # Cleaning up AppDir cleanup_dirs = [ 'etc', 'lib', 'lib64', 'usr/lib', 'usr/local' ] for local in cleanup_dirs: - shutil.rmtree(os.path.abspath(os.path.join(self.appimagedir, local))) + shutil.rmtree(os.path.abspath(os.path.join(self.appimagedir, local)), ignore_errors=True) # Download AppRun from github apprunurl = r"https://github.com/AppImage/AppImageKit/releases/"