Add security, i18n, analysis, backup, notifications
This commit is contained in:
8
build.rs
8
build.rs
@@ -33,4 +33,12 @@ fn main() {
|
||||
"cargo::rustc-env=GSETTINGS_SCHEMA_DIR={}",
|
||||
schema_dir.display()
|
||||
);
|
||||
|
||||
// Set LOCALEDIR for i18n support (development builds use a local path)
|
||||
let locale_dir = out_dir.join("locale");
|
||||
std::fs::create_dir_all(&locale_dir).ok();
|
||||
println!(
|
||||
"cargo::rustc-env=LOCALEDIR={}",
|
||||
locale_dir.display()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user