Skip to content

Commit 01b8922

Browse files
committed
Windows support!!!
1 parent c1eeb7c commit 01b8922

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src-tauri/src/sideloader/sideload.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,13 @@ pub async fn sideload_app(
326326
file.write_all(&provisioning_profile.encoded_profile)
327327
.map_err(|e| e.to_string())?;
328328

329+
// Without this, zsign complains it can't find the provision file
330+
#[cfg(target_os = "windows")]
331+
{
332+
file.sync_all().map_err(|e| e.to_string())?;
333+
drop(file);
334+
}
335+
329336
// TODO: Recursive for sub-bundles?
330337
app.bundle.write_info().map_err(|e| e.to_string())?;
331338

0 commit comments

Comments
 (0)