mirror of
https://github.com/agersant/polaris
synced 2024-09-20 05:41:52 +00:00
Merge pull request #69 from wezm/support-non-linux-unix
Support UNIX platforms that aren't Linux
This commit is contained in:
commit
f79b4615c4
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue