Support for Heroic import

This commit is contained in:
kramo
2023-01-29 14:27:27 +01:00
parent 4759357764
commit 99e6cbf169
16 changed files with 663 additions and 341 deletions

View File

@@ -3,14 +3,14 @@ using Adw 1;
template PreferencesWindow : Adw.PreferencesWindow {
search-enabled: false;
default-height: 400;
default-height: 500;
Adw.PreferencesPage {
Adw.PreferencesGroup {
title: _("General");
Adw.ActionRow {
title: _("Exit after launching a game");
title: _("Exit After Launching Games");
Switch exit_after_launch_switch {
valign: center;
@@ -22,7 +22,7 @@ template PreferencesWindow : Adw.PreferencesWindow {
title: "Steam";
Adw.ActionRow {
title: _("Steam install location");
title: _("Steam Install Location");
subtitle: _("Directory to use when importing games");
Button steam_file_chooser_button {
@@ -31,5 +31,43 @@ template PreferencesWindow : Adw.PreferencesWindow {
}
}
}
Adw.PreferencesGroup {
title: "Heroic";
Adw.ActionRow {
title: _("Heroic Install Location");
subtitle: _("Directory to use when importing games");
Button heroic_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
Adw.ActionRow {
title: _("Import Epic Games");
Switch import_epic_games_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import GOG Games");
Switch import_gog_games_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import Sideloaded Games");
Switch import_sideload_games_switch {
valign: center;
}
}
}
}
}