diff --git a/CODE_OF_CONDUCT b/CODE_OF_CONDUCT.md similarity index 100% rename from CODE_OF_CONDUCT rename to CODE_OF_CONDUCT.md diff --git a/CONTRIBUTING b/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING rename to CONTRIBUTING.md diff --git a/README.md b/README.md index 51bec39..1f8c89e 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Built-in to this template are a number of popular frameworks already wired up to ## Roadmap -There are a number of additions that I'd like to implement in this repository, namely [auto-updating](https://www.electron.build/auto-update) and more release-focused enhancements and test suites, but those are lower priority (but I welcome PRs!). +There are a number of additions that I'd like to implement in this repository, namely more release-focused enhancements and test suites, but those are lower priority (but I welcome PRs!). ## Architecture For a more detailed view of the architecture of the template, please check out [here](https://github.com/reZach/secure-electron-template/blob/master/docs/architecture.md). I would _highly_ recommend reading this document to get yourself familiarized with this template. diff --git a/app/electron/main.js b/app/electron/main.js index 25998b8..9941194 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -28,6 +28,12 @@ let win; let menuBuilder; async function createWindow() { + + // If you'd like to set up auto-updating for your app, + // I'd recommend looking at https://github.com/iffy/electron-updater-example + // to use the method most suitable for you. + // eg. autoUpdater.checkForUpdatesAndNotify(); + if (!isDev) { // Needs to happen before creating/loading the browser window; // protocol is only used in prod