From 94b7bde9835b2c4c5b9ff2fa888bf3ce4d403558 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 5 Jun 2022 23:08:09 +0800 Subject: [PATCH] fix spurious rebuild issue Had two JSON entries with the same key, which meant you had a 50/50 chance of a rebuild being triggered depending on which entry was picked for the build. :-/ --- apps/manifest.json | 2 +- xtask/src/main.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/manifest.json b/apps/manifest.json index 5c1c2d159..94fcadf48 100644 --- a/apps/manifest.json +++ b/apps/manifest.json @@ -24,7 +24,7 @@ "vault": { "context_name": "Key Vault", "menu_name": { - "appmenu.repl": { + "appmenu.vault": { "en": "Key Vault", "ja": "キーボールト", "zh": "密钥库", diff --git a/xtask/src/main.rs b/xtask/src/main.rs index a49f2498b..c28fd0ab0 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -1829,6 +1829,9 @@ fn overwrite_if_changed(new_string: &String, old_file: &str) { _ => String::new(), }; if &original != new_string { + // println!("file change in i18n.json detected:"); + // println!("Old: {}", original); + // println!("New: {}", new_string); let mut new_file = OpenOptions::new() .read(true) .write(true)