Skip to content

Commit 46159a6

Browse files
Merge pull request #87 from BurntToasters/next-0.6.0
fixes
2 parents 2f0ed5f + 836bd8b commit 46159a6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src-tauri/src/process/post_extract.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pub(crate) struct PostExtractFixups {
1212
}
1313

1414
pub(crate) fn apply_post_extract_fixups(root: &Path) -> PostExtractFixups {
15+
#[allow(unused_mut)]
1516
let mut out = PostExtractFixups::default();
1617
#[cfg(target_os = "macos")]
1718
{
@@ -83,6 +84,7 @@ fn visit_app_bundles(path: &Path, on_app: &mut dyn FnMut(&Path)) {
8384
}
8485
}
8586

87+
#[cfg(unix)]
8688
const MAX_EXECUTE_SCAN_ENTRIES: u32 = 50_000;
8789

8890
/// Grant `u+x` to extracted binaries/scripts that 7-Zip left non-executable

0 commit comments

Comments
 (0)