From a05c838c5b2aeb447ea6586bd1ef002461544327 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Sun, 23 Feb 2020 12:05:17 +1100 Subject: [PATCH] Support UNIX platforms that aren't Linux --- src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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",