mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
macOS Support (#18)
* replace target_os = "linux" with target_family = "unix" * check correct dir for macos steam files
This commit is contained in:
@@ -9,7 +9,7 @@ pub struct Uplay {
|
||||
|
||||
impl Platform<Game, Box<dyn Error>> for Uplay {
|
||||
fn enabled(&self) -> bool {
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(target_family = "unix")]
|
||||
{
|
||||
false
|
||||
}
|
||||
@@ -28,7 +28,7 @@ impl Platform<Game, Box<dyn Error>> for Uplay {
|
||||
}
|
||||
|
||||
fn get_shortcuts(&self) -> Result<Vec<Game>, Box<dyn Error>> {
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(target_family = "unix")]
|
||||
{
|
||||
Ok(vec![])
|
||||
}
|
||||
@@ -38,7 +38,7 @@ impl Platform<Game, Box<dyn Error>> for Uplay {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(target_family = "unix")]
|
||||
fn create_symlinks(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user