[appimage] fix -> 'Checking symlinks' initial task hanging if an installed AppImage data does not contain the installed directory field

This commit is contained in:
Vinicius Moreira
2020-09-25 11:15:28 -03:00
parent cbfd7e0d4a
commit a205c7cca8
2 changed files with 7 additions and 1 deletions

View File

@@ -190,7 +190,11 @@ class SymlinksVerifier(Thread):
data = None
if data and not data.get('symlink'):
if not data.get('install_dir'):
data['install_dir'] = '/'.join(json_file.split('/')[0:-1])
app = AppImage(**data, i18n=self.i18n)
file_path = util.find_appimage_file(app.install_dir)
if file_path: