diff --git a/src/utils.rs b/src/utils.rs index 7c4ceba..45e5e44 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -3,13 +3,13 @@ use app_dirs::{app_root, AppDataType, AppInfo}; use std::fs; use std::path::{Path, PathBuf}; -#[cfg(not(target_os = "linux"))] +#[cfg(target_family = "windows")] const APP_INFO: AppInfo = AppInfo { name: "Polaris", author: "Permafrost", }; -#[cfg(target_os = "linux")] +#[cfg(not(target_family = "windows"))] const APP_INFO: AppInfo = AppInfo { name: "polaris", author: "permafrost",