Launcher: always use kvui
This commit is contained in:
parent
a5d516e179
commit
3623678c93
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue