mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-26 21:41:48 +02:00
chore: fmt
This commit is contained in:
@@ -396,8 +396,8 @@ fn patch_bundle_type(from: &Path, to: &Path, bundle_target: BundleTarget) {
|
|||||||
_ => unreachable!("{} is not a Windows bundle", bundle_target.name()),
|
_ => unreachable!("{} is not a Windows bundle", bundle_target.name()),
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut binary = std::fs::read(from)
|
let mut binary =
|
||||||
.unwrap_or_else(|e| panic!("failed to read {}: {e}", from.display()));
|
std::fs::read(from).unwrap_or_else(|e| panic!("failed to read {}: {e}", from.display()));
|
||||||
let index = binary
|
let index = binary
|
||||||
.windows(PLACEHOLDER.len())
|
.windows(PLACEHOLDER.len())
|
||||||
.position(|window| window == PLACEHOLDER)
|
.position(|window| window == PLACEHOLDER)
|
||||||
|
|||||||
Reference in New Issue
Block a user