Create shared.PROFILE

This commit is contained in:
kramo
2023-05-27 19:36:49 +02:00
parent 101eb1f07c
commit 12ad5c598e
3 changed files with 3 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ from gi.repository import Gdk, Gio
APP_ID = "@APP_ID@"
VERSION = "@VERSION@"
PREFIX = "@PREFIX@"
PROFILE = "@PROFILE@"
SPEC_VERSION = 1.5 # The version of the game_id.json spec
schema = Gio.Settings.new(APP_ID)

View File

@@ -90,7 +90,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
self.notice_empty.set_icon_name(shared.APP_ID + "-symbolic")
if "Devel" in shared.APP_ID:
if shared.PROFILE == "development":
self.add_css_class("devel")
# Connect search entries