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

update extract_into(), add example for bundles and add restart() method #147

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hacknus
Copy link

@hacknus hacknus commented Jan 18, 2025

Addresses #145.

I had to update the extract_into() method such that it works for bundles/directories that are zipped.
Additionally, I added an example in the README.md to describe the usage with bundles (specifically on macOS). For this example, we might consider putting the copy_dir() also in this library, but for now I leave it like that.

Furthermore, I included the restart.rs file with a restart() method that launches a zombie process of the own instance, allowing users to automatically restart the application after self_replace() has been called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant