Added Lutris import

This commit is contained in:
kramo
2023-03-31 15:22:45 +02:00
parent a53e49610c
commit 780fd0a09f
12 changed files with 241 additions and 10 deletions

View File

@@ -108,6 +108,30 @@ template PreferencesWindow : Adw.PreferencesWindow {
}
}
Adw.ExpanderRow lutris_expander_row {
title: _("Lutris");
show-enable-switch: true;
Adw.ActionRow {
title: _("Lutris Install Location");
subtitle: _("Directory to use when importing games");
Button lutris_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
Adw.ActionRow {
title: _("Lutris Cache Location");
subtitle: _("Directory to use when importing game covers");
Button lutris_cache_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
}
Adw.ExpanderRow heroic_expander_row {
title: _("Heroic");
show-enable-switch: true;

View File

@@ -19,6 +19,15 @@
<key name="steam-extra-dirs" type="as">
<default>[]</default>
</key>
<key name="lutris" type="b">
<default>true</default>
</key>
<key name="lutris-location" type="s">
<default>"~/.var/app/net.lutris.Lutris/data/lutris/"</default>
</key>
<key name="lutris-cache-location" type="s">
<default>"~/.var/app/net.lutris.Lutris/cache/lutris"</default>
</key>
<key name="heroic" type="b">
<default>true</default>
</key>