change to make build work on windows, macos, linux (#1618)

Co-authored-by: ATrueLight4 <ATrueLight4Gamming@gmail.com>
This commit is contained in:
Max Novich
2025-03-11 14:58:39 -07:00
committed by GitHub
parent d12f089f06
commit 4cdcbba77e

View File

@@ -8,7 +8,8 @@ struct SessionLog {
}
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,
usage: Vec<ProviderUsage>,
) {