Epic safe launch (#85)

This feature lets users force some Epic Games to be launched through the Epic Launcher
This commit is contained in:
Philip Kristoffersen
2022-04-18 14:00:06 +02:00
committed by GitHub
parent 03aab2e088
commit e9d10499f2
7 changed files with 212 additions and 118 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ pub struct EpicPlatform {
}
impl EpicPlatform {
pub fn new(settings: EpicGamesLauncherSettings) -> Self {
EpicPlatform { settings }
pub fn new(settings: &EpicGamesLauncherSettings) -> Self {
EpicPlatform { settings: settings.clone() }
}
}