From df2d062ca1a5689f2bcfcaff2226c1f38bb94303 Mon Sep 17 00:00:00 2001 From: nab138 Date: Mon, 3 Nov 2025 22:09:57 -0500 Subject: [PATCH] rename temp extracted app --- Cargo.lock | 2 +- isideload/Cargo.toml | 2 +- isideload/src/application.rs | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8f8d15f..55d2531 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1152,7 +1152,7 @@ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "isideload" -version = "0.1.12" +version = "0.1.13" dependencies = [ "hex", "idevice", diff --git a/isideload/Cargo.toml b/isideload/Cargo.toml index 83a301a..14002f4 100644 --- a/isideload/Cargo.toml +++ b/isideload/Cargo.toml @@ -3,7 +3,7 @@ name = "isideload" description = "Sideload iOS/iPadOS applications" license = "MPL-2.0" authors = ["Nicholas Sharp "] -version = "0.1.12" +version = "0.1.13" edition = "2024" repository = "https://github.com/nab138/isideload" documentation = "https://docs.rs/isideload" diff --git a/isideload/src/application.rs b/isideload/src/application.rs index a3d5659..872c9b0 100644 --- a/isideload/src/application.rs +++ b/isideload/src/application.rs @@ -24,7 +24,8 @@ impl Application { if path.is_file() { let temp_dir = std::env::temp_dir(); - let temp_path = temp_dir.join(path.file_name().unwrap()); + let temp_path = temp_dir + .join(path.file_name().unwrap().to_string_lossy().to_string() + "_extracted"); if temp_path.exists() { std::fs::remove_dir_all(&temp_path).map_err(|e| Error::Filesystem(e))?; }