Correcting the removal error before finalizing appimage.

This commit is contained in:
emiliano.vavassori 2024-08-23 01:51:45 +02:00
parent 6ba99db56c
commit ba6572c3cf
1 changed files with 1 additions and 1 deletions

View File

@ -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/"