electron-asar-hot-updater
electron-asar-hot-updater copied to clipboard
Replace updater.exe with a batch or powershell script?
There is no need to use an entire executable just for moving a file.
This can be done using a standard cmd script:
move /y sourcefile destfile
Or with a powershell script:
powershell -Command "Sleep 5; Move-Item -Path sourcefile -Destination destfile -Force"
yep, If cmd
can bypass the file lock, it can be done