summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2025-03-11 14:13:07 +0300
committerVika <vika@fireburn.ru>2025-03-11 14:13:07 +0300
commit97be1f951079be12c781c35411979d4b18812b37 (patch)
tree6977436a4d274d6ddf3f7b2265b8524c33cefe98 /src
parent099af8a00b9de7b9d32ac8dd131f9d5e30d8e79a (diff)
downloadbowl-main.tar.zst
Set application ID from Meson HEAD main
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
-rw-r--r--src/meson.build1
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(