Add feature to launch gog games through heroic (#168)

This commit is contained in:
Philip Kristoffersen
2022-06-08 21:26:16 +02:00
committed by GitHub
parent 9765e170eb
commit 1bcafd8207
6 changed files with 190 additions and 150 deletions
+7 -2
View File
@@ -8,7 +8,12 @@ use tokio::{
sync::watch::{self, Receiver},
};
use crate::{egs::ManifestItem, heroic::HeroicGame, settings::Settings, sync::SyncProgress};
use crate::{
egs::ManifestItem,
heroic::{HeroicGame, HeroicGameType},
settings::Settings,
sync::SyncProgress,
};
use super::{
ui_colors::{
@@ -36,7 +41,7 @@ pub struct MyEguiApp {
pub(crate) games_to_sync: Receiver<FetcStatus<Vec<(String, Vec<ShortcutOwned>)>>>,
pub(crate) status_reciever: Receiver<SyncProgress>,
pub(crate) epic_manifests: Option<Vec<ManifestItem>>,
pub(crate) heroic_games: Option<Vec<HeroicGame>>,
pub(crate) heroic_games: Option<Vec<HeroicGameType>>,
pub(crate) image_selected_state: ImageSelectState,
pub(crate) backup_state: BackupState,
pub(crate) disconect_state: DiconnectState,