[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

@@ -7,7 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [0.9.8]
### Fixes
- Arch
- info window: not displaying all installed files
- info window: not displaying all installed files
- AppImage
- "Checking symlinks" initial task hanging if an installed AppImage data does not contain the installed directory field ('install_dir')
## [0.9.7] 2020-09-11
### Features

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: