mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 06:24:15 +02:00
[appimage] fix -> 'Checking symlinks' initial task hanging if an installed AppImage data does not contain the installed directory field
This commit is contained in:
@@ -7,7 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
## [0.9.8]
|
## [0.9.8]
|
||||||
### Fixes
|
### Fixes
|
||||||
- Arch
|
- 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
|
## [0.9.7] 2020-09-11
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
@@ -190,7 +190,11 @@ class SymlinksVerifier(Thread):
|
|||||||
data = None
|
data = None
|
||||||
|
|
||||||
if data and not data.get('symlink'):
|
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)
|
app = AppImage(**data, i18n=self.i18n)
|
||||||
|
|
||||||
file_path = util.find_appimage_file(app.install_dir)
|
file_path = util.find_appimage_file(app.install_dir)
|
||||||
|
|
||||||
if file_path:
|
if file_path:
|
||||||
|
|||||||
Reference in New Issue
Block a user