I am developing an app-updater function for my app (WPF dotnet-core 8.0), it works well for now, and bellow is the work-flow, I am not sure if it is a good flow:
- one new button on current gui, when clicked, it close the app and start an Updater.exe
- the Updater.exe overwrites all files of my app (got new files from server), and re-open App.exe
- my concern is that, will this "overwrite" fail due to the app.exe did not close in time (currently, it works well)
- or any other better update process