Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for reading self-extracting archives #85

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Add support for reading self-extracting archives #85

merged 1 commit into from
Apr 26, 2023

Conversation

bodgit
Copy link
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