Implement initial framework for Dolphin importer
- Uses cache reading code from Lutris by strycore. https://github.com/lutris/lutris/blob/master/lutris/util/dolphin/cache_reader.py#L23
This commit is contained in:
@@ -198,6 +198,20 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ExpanderRow dolphin_expander_row {
|
||||
title: _("Dolphin");
|
||||
show-enable-switch: true;
|
||||
|
||||
Adw.ActionRow dolphin_cache_action_row {
|
||||
title: _("Cache Location");
|
||||
|
||||
Button dolphin_cache_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ExpanderRow itch_expander_row {
|
||||
title: _("itch");
|
||||
show-enable-switch: true;
|
||||
|
||||
@@ -52,6 +52,12 @@
|
||||
<key name="bottles-location" type="s">
|
||||
<default>"~/.var/app/com.usebottles.bottles/data/bottles/"</default>
|
||||
</key>
|
||||
<key name="dolphin" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="dolphin-cache-location" type="s">
|
||||
<default>"~/.var/app/org.DolphinEmu.dolphin-emu/cache/dolphin-emu/"</default>
|
||||
</key>
|
||||
<key name="itch" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
|
||||
Reference in New Issue
Block a user