diff --git a/src/window.py b/src/window.py index 08cdc7c1..f930bc67 100644 --- a/src/window.py +++ b/src/window.py @@ -356,6 +356,9 @@ def thread_func(id_list, remote): try: subprocess.run(['flatpak-spawn', '--host', 'flatpak', 'install', '-y', remote[0], f'--{remote[1]}', id_list[i]], capture_output=False, check=True) except subprocess.CalledProcessError: + if remote[1] == "user": + self.install_success = False + continue try: subprocess.run(['flatpak-spawn', '--host', 'pkexec', 'flatpak', 'install', '-y', remote[0], f'--{remote[1]}', id_list[i]], capture_output=False, check=True) except subprocess.CalledProcessError: