electron-asar-hot-updater icon indicating copy to clipboard operation
electron-asar-hot-updater copied to clipboard

Replace updater.exe with a batch or powershell script?

Open ozomer opened this issue 4 years ago • 1 comments

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"

ozomer avatar May 04 '20 13:05 ozomer

yep, If cmd can bypass the file lock, it can be done

yansenlei avatar May 08 '20 08:05 yansenlei