mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Add Heroic support (#46)
This commit is contained in:
@@ -8,7 +8,7 @@ use crate::{
|
||||
settings::Settings,
|
||||
steam::{get_shortcuts_for_user, get_shortcuts_paths, ShortcutInfo, SteamUsersInfo},
|
||||
steamgriddb::download_images_for_users,
|
||||
uplay::Uplay,
|
||||
uplay::Uplay, heroic::HeroicPlatform,
|
||||
};
|
||||
use std::error::Error;
|
||||
|
||||
@@ -119,6 +119,12 @@ fn update_platforms(settings: &Settings, new_user_shortcuts: &mut Vec<ShortcutOw
|
||||
},
|
||||
new_user_shortcuts,
|
||||
);
|
||||
update_platform_shortcuts(
|
||||
&HeroicPlatform {
|
||||
settings: settings.heroic.clone(),
|
||||
},
|
||||
new_user_shortcuts,
|
||||
);
|
||||
}
|
||||
|
||||
fn save_shortcuts(shortcuts: &[ShortcutOwned], path: &Path) {
|
||||
|
||||
Reference in New Issue
Block a user