change to make build work on windows, macos, linux (#1618)
Co-authored-by: ATrueLight4 <ATrueLight4Gamming@gmail.com>
This commit is contained in:
@@ -8,7 +8,8 @@ struct SessionLog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn log_usage(
|
pub fn log_usage(
|
||||||
home_dir: etcetera::app_strategy::Xdg,
|
#[cfg(target_os = "windows")] home_dir: etcetera::app_strategy::Windows,
|
||||||
|
#[cfg(any(target_os = "macos", target_os = "linux"))] home_dir: etcetera::app_strategy::Xdg,
|
||||||
session_file: String,
|
session_file: String,
|
||||||
usage: Vec<ProviderUsage>,
|
usage: Vec<ProviderUsage>,
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user