Skip to content

Commit 40aa5d3

Browse files
committed
Fix Windows string borrow
1 parent 7fcf03b commit 40aa5d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/renutil.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,8 @@ pub async fn install(
620620
let android_keystore_str = android_keystore.to_str().unwrap();
621621
#[cfg(target_family = "windows")]
622622
let android_keystore_str = android_keystore_str.replace("\\\\?\\", "");
623+
#[cfg(target_family = "windows")]
624+
let android_keystore_str = android_keystore_str.as_str();
623625
if !android_keystore.exists() {
624626
println!("Generating Android keystore");
625627

0 commit comments

Comments
 (0)