self_update icon indicating copy to clipboard operation
self_update copied to clipboard

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

Open hacknus opened this issue 1 year ago • 2 comments

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.

hacknus avatar Jan 18 '25 12:01 hacknus

Can this be merged?

hacknus avatar Mar 14 '25 07:03 hacknus

^bump

hacknus avatar May 15 '25 14:05 hacknus