Cleanups
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user