summary refs log tree commit diff
path: root/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'build.rs')
-rwxr-xr-xbuild.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.rs b/build.rs
index 1adc0c1..08ac6e2 100755
--- a/build.rs
+++ b/build.rs
@@ -1,6 +1,8 @@
 fn main() {
     println!("cargo::rerun-if-env-changed=PKGDATADIR");
     println!("cargo::rerun-if-env-changed=LOCALEDIR");
+    println!("cargo::rerun-if-env-changed=APP_ID");
+
     println!("cargo::rerun-if-changed=./build.rs");
     if std::env::var_os("PKGDATADIR").is_none() {
         println!("cargo::rustc-env=PKGDATADIR={}", {
@@ -18,6 +20,10 @@ fn main() {
         }.display())
     }
 
+    if std::env::var_os("APP_ID").is_none() {
+        println!("cargo::rustc-env=APP_ID=xyz.vikanezrimaya.kittybox.Bowl")
+    }
+
     relm4_icons_build::bundle_icons(
         "icons.rs",
         Some("xyz.vikanezrimaya.kittybox.Bowl"),