This commit is contained in:
kramo
2023-03-14 21:20:59 +01:00
parent 434b7a11f1
commit 32d9f9a880
16 changed files with 99 additions and 63 deletions

View File

@@ -17,11 +17,13 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
import subprocess
import sys
from gi.repository import Gio
def run_command(parent_widget, executable):
import subprocess, sys
from gi.repository import Gio
subprocess.Popen(["flatpak-spawn --host " + executable], shell=True, start_new_session=True)
if Gio.Settings.new("hu.kramo.Cartridges").get_boolean("exit-after-launch"):