by veyh · 1y ago · 0 comments
While it's true that you can't overwrite a running binary on Windows, you can still rename it.
For example, the updater I wrote for AutoPTT downloads the new update to a temporary directory, renames all old files to ${file}.bak, then moves over the files from the temporary folder, and finally runs the new binary while exiting the old one.
No comments yet.