mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-08 06:48:09 +03:00
Disable auto assets update in flatpak
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -291,8 +291,10 @@ class ConnectAction(AppQAction):
|
||||
hasNewVersionCallback=newVersionCallback,
|
||||
)
|
||||
|
||||
if SystemRuntime.appImagePath():
|
||||
logger.info('skipped auto assets update due to running from Linux AppImage')
|
||||
if SystemRuntime.appImagePath() or SystemRuntime.flatpakID():
|
||||
logger.info(
|
||||
'skipped auto assets update due to application folder not writable'
|
||||
)
|
||||
else:
|
||||
if AppSettings.isStateON_('AutoUpdateAssetFiles'):
|
||||
# Automatically update assets
|
||||
|
||||
@@ -184,7 +184,7 @@ class SettingsAction(AppQAction):
|
||||
else:
|
||||
hideDockIconAction = []
|
||||
|
||||
if SystemRuntime.appImagePath():
|
||||
if SystemRuntime.appImagePath() or SystemRuntime.flatpakID():
|
||||
autoUpdateAssetFilesAction = []
|
||||
else:
|
||||
autoUpdateAssetFilesAction = (
|
||||
|
||||
Reference in New Issue
Block a user