Fix prefix formatting

This commit is contained in:
kramo
2023-05-27 17:01:18 +02:00
parent 8a1e00883c
commit c045ad1f53
7 changed files with 11 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ from . import shared
from .game_cover import GameCover
@Gtk.Template(resource_path=shared.PREFIX + "gtk/game.ui")
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/game.ui")
class Game(Gtk.Box):
__gtype_name__ = "Game"
@@ -201,7 +201,7 @@ class Game(Gtk.Box):
creationflags=subprocess.CREATE_NEW_PROCESS_GROUP if os.name == "nt" else 0,
)
if shared.state_schema.get_boolean("exit-after-launch"):
if shared.schema.get_boolean("exit-after-launch"):
self.app.quit()
# The variable is the title of the game