blob: e9907f114f8f2d8094dc0d4e3c0b1b9193edc126 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#[cfg(target_os = "macos")]
pub const BINARY_PATH: &str = "Contents/MacOS/Atomic";
#[cfg(target_os = "linux")]
pub const BINARY_PATH: &str = "atomic";
#[cfg(target_os = "windows")]
pub const BINARY_PATH: &str = "atomic.exe";
#[cfg(target_os = "macos")]
pub const APP_FOLDER_PATH: &str = "../Resources/app";
#[cfg(any(target_os = "linux", target_os = "windows"))]
pub const APP_FOLDER_PATH: &str = "./resources/app";
#[cfg(target_os = "macos")]
pub const APP_ASAR_PATH: &str = "../Resources/app.asar";
#[cfg(any(target_os = "linux", target_os = "windows"))]
pub const APP_ASAR_PATH: &str = "./resources/app.asar";
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|