diff options
author | Vika <vika@fireburn.ru> | 2025-03-11 14:13:07 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-03-11 14:13:07 +0300 |
commit | 97be1f951079be12c781c35411979d4b18812b37 (patch) | |
tree | 6977436a4d274d6ddf3f7b2265b8524c33cefe98 /src | |
parent | 099af8a00b9de7b9d32ac8dd131f9d5e30d8e79a (diff) | |
download | bowl-main.tar.zst |
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | src/meson.build | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index bdc3682..4ecc139 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -35,7 +35,7 @@ use soup::prelude::SessionExt; pub mod secrets; pub mod micropub; pub mod util; -pub const APPLICATION_ID: &str = "xyz.vikanezrimaya.kittybox.Bowl"; +pub const APPLICATION_ID: &str = env!("APP_ID"); pub const CLIENT_ID_STR: &str = "https://kittybox.fireburn.ru/bowl/"; #[derive(Debug)] diff --git a/src/meson.build b/src/meson.build index 3bc0c3f..d9adfb7 100644 --- a/src/meson.build +++ b/src/meson.build @@ -20,6 +20,7 @@ cargo_env = [ 'CARGO_HOME=' + meson.project_build_root() / 'cargo-home', 'PKGDATADIR=' + pkgdatadir, 'LOCALEDIR=' + localedir, + 'APP_ID=' + application_id, ] cargo_build = custom_target( |