Add features to add flatpak apps on linux (#161)

* Add features to add flatpak apps on linux

* Fix build on windows
This commit is contained in:
Philip Kristoffersen
2022-05-28 19:10:51 +02:00
committed by GitHub
parent b426201695
commit a5fa774fd3
10 changed files with 124 additions and 3 deletions
+5
View File
@@ -3,6 +3,7 @@ use tokio::sync::watch::Sender;
use crate::{
egs::EpicPlatform,
flatpak::FlatpakPlatform,
legendary::LegendaryPlatform,
lutris::lutris_platform::LutrisPlatform,
platform::Platform,
@@ -217,6 +218,10 @@ pub fn get_platform_shortcuts(settings: &Settings) -> Vec<(String, Vec<ShortcutO
platform_results.push(update_platform_shortcuts(&HeroicPlatform {
settings: settings.heroic.clone(),
}));
platform_results.push(update_platform_shortcuts(&FlatpakPlatform {
settings: settings.flatpak.clone(),
}));
}
#[cfg(windows)]