Add an option to import games automatically (#302)

This commit is contained in:
kramo
2024-10-31 14:12:33 +01:00
committed by GitHub
parent 1437a31658
commit 4ee3fe2473
5 changed files with 29 additions and 7 deletions

View File

@@ -61,6 +61,10 @@ template $CartridgesPreferences: Adw.PreferencesDialog {
Adw.PreferencesGroup import_behavior_group {
title: _("Behavior");
Adw.SwitchRow auto_import_switch {
title: _("Import Games Automatically");
}
Adw.SwitchRow remove_missing_switch {
title: _("Remove Uninstalled Games");
}

View File

@@ -2,6 +2,9 @@
<schemalist gettext-domain="cartridges">
<schema id="@APP_ID@" path="@PREFIX@/">
<key name="auto-import" type="b">
<default>false</default>
</key>
<key name="exit-after-launch" type="b">
<default>false</default>
</key>