Create symlinks on linux

This commit is contained in:
Philip Kristoffersen
2021-10-06 10:00:57 +02:00
parent 206d900ef1
commit 53021a177a
11 changed files with 109 additions and 12 deletions
+5
View File
@@ -21,6 +21,11 @@ impl Platform<OriginGame, OriginErrors> for OriginPlatform {
"Origin"
}
#[cfg(target_os = "linux")]
fn create_symlinks(&self) -> bool {
false
}
fn get_shortcuts(&self) -> Result<Vec<OriginGame>, OriginErrors> {
let origin_folder = Path::new(
&self