Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Oct 11, 2024
1 parent 6661834 commit bc8bbd1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/tauri/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ fn main() {
})
}

let package_no_escape = env_var("WRY_ANDROID_PACKAGE_NO_ESCAPE");

if let Ok(kotlin_out_dir) = std::env::var("WRY_ANDROID_KOTLIN_FILES_OUT_DIR") {
let package_no_escape = env_var("WRY_ANDROID_PACKAGE_NO_ESCAPE");

let package = env_var("WRY_ANDROID_PACKAGE");
let library = env_var("WRY_ANDROID_LIBRARY");

Expand Down Expand Up @@ -308,6 +308,7 @@ fn main() {
}

if let Some(project_dir) = env::var_os("TAURI_ANDROID_PROJECT_PATH").map(PathBuf::from) {
let package_no_escape = env_var("WRY_ANDROID_PACKAGE_NO_ESCAPE");
let tauri_proguard =
include_str!("./mobile/proguard-tauri.pro").replace("$PACKAGE", &package_no_escape);
std::fs::write(
Expand Down

0 comments on commit bc8bbd1

Please sign in to comment.