Use install type in Flathub installer to avoid crashing installers

This commit is contained in:
Mathieu Comandon 2023-12-28 15:15:20 -08:00
parent 8a58717444
commit 48affb629b

View file

@ -184,7 +184,7 @@ class FlathubService(BaseService):
"execute":
{
"file": flatpak_cmd[0],
"args": " ".join(flatpak_cmd[1:]) + f" install --app --noninteractive flathub "
"args": " ".join(flatpak_cmd[1:]) + f" install --{self.install_type} --app --noninteractive flathub "
f"app/{db_game['appid']}/{self.arch}/{self.branch}",
"disable_runtime": True
}