dsheiko / nw-autoupdater

⛔️ [DEPRECATED] Library provides low-level API to control NW.js app auto-updates
MIT License
75 stars 36 forks source link

app.bak file in the same directory with app on Mac #29

Open denigada opened 6 years ago

denigada commented 6 years ago

26 I am trying to use the

await updater.swap(); and await updater.restart();

method to update the app and restart it from the same place. However this creates app.bak and credits.html files: screen shot 2018-04-03 at 6 36 02 pm

Since I want my users to be able to drag the app icon to apps folder to install it, Im not using an installer. How can we hide that file somewhere else after the update? to not have it in the Applications folder.

Another issue I have is await updater.restart(); doesn't restart the app