mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
@@ -1,5 +1,6 @@
|
||||
use steam_shortcuts_util::shortcut::{Shortcut, ShortcutOwned};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub(crate) struct Game {
|
||||
pub(crate) name: String,
|
||||
pub(crate) icon: String,
|
||||
|
||||
@@ -42,6 +42,16 @@ impl Platform<Game, Box<dyn Error>> for Uplay {
|
||||
fn create_symlinks(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
fn needs_proton(&self, _input: &Game) -> bool {
|
||||
#[cfg(target_os = "windows")]
|
||||
return false;
|
||||
#[cfg(target_family = "unix")]
|
||||
{
|
||||
//TODO update this when uplay gets proton support on linux
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
|
||||
Reference in New Issue
Block a user