mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Add uplay syncrhonization
This commit is contained in:
@@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize};
|
||||
pub(crate) struct GogConfig {
|
||||
#[serde(alias = "installationPaths")]
|
||||
pub installation_paths: Option<Vec<String>>,
|
||||
|
||||
|
||||
#[serde(alias = "libraryPath")]
|
||||
pub library_path: Option<String>,
|
||||
}
|
||||
|
||||
+2
-3
@@ -22,15 +22,14 @@ pub(crate) struct PlayTask {
|
||||
#[serde(alias = "type")]
|
||||
pub task_type: String,
|
||||
#[serde(alias = "workingDir")]
|
||||
pub working_dir: Option<String>,
|
||||
|
||||
pub working_dir: Option<String>,
|
||||
}
|
||||
|
||||
pub(crate) struct GogShortcut {
|
||||
pub name: String,
|
||||
pub game_folder: String,
|
||||
pub path: String,
|
||||
pub working_dir:String,
|
||||
pub working_dir: String,
|
||||
pub game_id: String,
|
||||
}
|
||||
|
||||
|
||||
@@ -144,7 +144,9 @@ impl Platform<GogShortcut, GogErrors> for GogPlatform {
|
||||
let shortcuts_res = self.get_shortcuts();
|
||||
match shortcuts_res {
|
||||
Ok(_) => SettingsValidity::Valid,
|
||||
Err(err) => SettingsValidity::Invalid{reason:format!("{}",err)},
|
||||
Err(err) => SettingsValidity::Invalid {
|
||||
reason: format!("{}", err),
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,5 +7,4 @@ pub struct GogSettings {
|
||||
pub wine_c_drive: Option<String>,
|
||||
#[cfg(target_os = "linux")]
|
||||
pub create_symlinks: bool,
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user