parent
59cfddc3ca
commit
b3162f400c
1 changed files with 5 additions and 1 deletions
|
@ -157,7 +157,7 @@ _dependencies = {
|
||||||
'GSPELL': False,
|
'GSPELL': False,
|
||||||
'IDLE': False,
|
'IDLE': False,
|
||||||
'RUN_AS_FLATPAK': False,
|
'RUN_AS_FLATPAK': False,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def is_installed(dependency):
|
def is_installed(dependency):
|
||||||
|
@ -296,6 +296,10 @@ def detect_dependencies():
|
||||||
except (ImportError, ValueError):
|
except (ImportError, ValueError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# RUN AS FLATPAK
|
||||||
|
if os.path.exists('/app/share/run-as-flatpak'):
|
||||||
|
_dependencies['RUN_AS_FLATPAK'] = True
|
||||||
|
|
||||||
# Print results
|
# Print results
|
||||||
for dep, val in _dependencies.items():
|
for dep, val in _dependencies.items():
|
||||||
log('gajim').info('%-13s %s', dep, val)
|
log('gajim').info('%-13s %s', dep, val)
|
||||||
|
|
Loading…
Add table
Reference in a new issue