Skip to content

Add support for reading self-extracting archives#85

Merged
bodgit merged 1 commit intomasterfrom
sfx
Apr 26, 2023
Merged

Add support for reading self-extracting archives#85
bodgit merged 1 commit intomasterfrom
sfx

Conversation

@bodgit
Copy link
Copy Markdown
Owner

@bodgit bodgit commented Apr 25, 2023

If the 6-byte signature is at the beginning of the file, behave as before otherwise scan the first 1 MiB for all offsets where the signature is found. Use the first offset that has a correct CRC.

We have to do this as the executable can also contain the signature, (presumably as a variable), but won't have the right CRC.

Fixes #84

If the 6-byte signature is at the beginning of the file, behave as
before otherwise scan the first 1 MiB for all offsets where the
signature is found. Use the first offset that has a correct CRC.

We have to do this as the executable can also contain the signature,
(presumably as a variable), but won't have the right CRC.

Fixes #84
@bodgit bodgit added the enhancement New feature or request label Apr 25, 2023
@bodgit bodgit self-assigned this Apr 25, 2023
@bodgit bodgit mentioned this pull request Apr 25, 2023
@bodgit bodgit merged commit 7a455e1 into master Apr 26, 2023
@bodgit bodgit deleted the sfx branch April 26, 2023 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for reading self-extracting archives

1 participant