Launcher: always use kvui

This commit is contained in:
black-sliver 2022-06-17 20:05:09 +02:00 committed by Fabian Dill
parent a5d516e179
commit 3623678c93
1 changed files with 1 additions and 8 deletions

View File

@ -206,14 +206,7 @@ def launch(exe, in_terminal=False):
def run_gui(): def run_gui():
if not sys.stdout: from kvui import App, ContainerLayout, GridLayout, Button, Label
from kvui import App, ContainerLayout, GridLayout, Button, Label # this kills stdout
else:
from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.floatlayout import FloatLayout as ContainerLayout
from kivy.uix.gridlayout import GridLayout
from kivy.uix.label import Label
class Launcher(App): class Launcher(App):
base_title: str = "Archipelago Launcher" base_title: str = "Archipelago Launcher"