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:
+2
-2
@@ -172,12 +172,12 @@ fn update_ui_with_settings(ui: &mut UserInterface, settings: &Settings) {
|
||||
.unwrap_or(default_gog_location),
|
||||
);
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(target_family = "unix")]
|
||||
{
|
||||
ui.gog_winedrive_input
|
||||
.set_value(&settings.gog.wine_c_drive.clone().unwrap_or("".to_string()));
|
||||
}
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
#[cfg(not(target_family = "unix"))]
|
||||
{
|
||||
ui.gog_winedrive_input.deactivate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user