mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 11:04:15 +02:00
[flatpak] improvement: not displaying the installation target option when bauh is launched by the root user (settings)
This commit is contained in:
@@ -32,6 +32,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- AppImage
|
||||
- faster reading of installed applications (subprocess call replaced by Python call)
|
||||
|
||||
- Flatpak
|
||||
- settings: not displaying the installation target option when bauh is launched by the root user
|
||||
|
||||
- Web
|
||||
- the Electron builds cache directory has been moved to the environment directory `~/.local/share/bauh/web/env/electron`
|
||||
- letting the Electron client to download the Electron build file instead of bauh (to avoid wrong caching paths)
|
||||
|
||||
@@ -592,6 +592,7 @@ class FlatpakManager(SoftwareManager):
|
||||
return urls
|
||||
|
||||
def get_settings(self, screen_width: int, screen_height: int) -> Optional[ViewComponent]:
|
||||
if not self.context.root_user:
|
||||
fields = []
|
||||
|
||||
flatpak_config = self.configman.get_config()
|
||||
|
||||
Reference in New Issue
Block a user