Dadoum commited on 2026-09-11 18:35:09
Showing 3 changed files, with 6 additions and 18 deletions.
| ... | ... |
@@ -10,7 +10,7 @@ use std::sync::{Mutex, MutexGuard, OnceLock};
|
| 10 | 10 |
use std::time::{SystemTime, UNIX_EPOCH};
|
| 11 | 11 |
|
| 12 | 12 |
const KEYCHAIN_SESSION_VERSION: u32 = 1; |
| 13 |
-const KEYRING_SERVICE: &str = "com.Dadoum.Super-Sideloader"; |
|
| 13 |
+const KEYRING_SERVICE: &str = "zone.dadoum.SuperSideloader"; |
|
| 14 | 14 |
const TOKEN_EXPIRY_GRACE_MILLIS: u64 = 5 * 60 * 1000; |
| 15 | 15 |
|
| 16 | 16 |
type KeychainResult<T> = Result<T, String>; |
| ... | ... |
@@ -457,24 +457,12 @@ async fn sign_ipa_async( |
| 457 | 457 |
request: IpaSigningRequest, |
| 458 | 458 |
mut progress: impl FnMut(IpaSigningProgress) + Send, |
| 459 | 459 |
) -> BackendResult<SigningArtifact> {
|
| 460 |
- let work_parent = app_data_dir() |
|
| 461 |
- .ok_or_else(|| {
|
|
| 462 |
- BackendError::Unsupported( |
|
| 463 |
- "The application data folder is not available for IPA signing.".to_string(), |
|
| 464 |
- ) |
|
| 465 |
- })? |
|
| 466 |
- .join("signing");
|
|
| 467 |
- fs::create_dir_all(&work_parent).map_err(|source| BackendError::Io {
|
|
| 468 |
- action: "Create IPA signing work folder", |
|
| 469 |
- path: work_parent.clone(), |
|
| 470 |
- source, |
|
| 471 |
- })?; |
|
| 472 | 460 |
let work_dir = TempBuilder::new() |
| 473 |
- .prefix("sign-")
|
|
| 474 |
- .tempdir_in(&work_parent) |
|
| 461 |
+ .prefix("super-sideloader-sign-")
|
|
| 462 |
+ .tempdir() |
|
| 475 | 463 |
.map_err(|source| BackendError::Io {
|
| 476 | 464 |
action: "Create temporary IPA signing folder", |
| 477 |
- path: work_parent, |
|
| 465 |
+ path: std::env::temp_dir(), |
|
| 478 | 466 |
source, |
| 479 | 467 |
})?; |
| 480 | 468 |
|
| ... | ... |
@@ -4,8 +4,8 @@ use std::fs; |
| 4 | 4 |
use std::path::PathBuf; |
| 5 | 5 |
use std::process::Command; |
| 6 | 6 |
|
| 7 |
-const QUALIFIER: &str = "com"; |
|
| 8 |
-const ORGANIZATION: &str = "Dadoum"; |
|
| 7 |
+const QUALIFIER: &str = "zone"; |
|
| 8 |
+const ORGANIZATION: &str = "dadoum"; |
|
| 9 | 9 |
const APPLICATION: &str = "SuperSideloader"; |
| 10 | 10 |
|
| 11 | 11 |
pub(crate) fn app_data_dir() -> Option<PathBuf> {
|
| 12 | 12 |