electronelectron-builderelectron-updater

Electron: Install new version manually


I don't want to use electron-updater or other packages for updating my electron application so what are the solutions to update app manually?

I tried replacing built files of new version in c:/program files/my-app using a script but permission denied to paste files in this directory and only adminstrator access is permitted to paste in drive c of windows.


Solution

  • I allowed the directory or app to be available for write by others and replaced unpacked data of built app on the installation directory and after launching app new version is up and running.