mirror of
https://github.com/felixrieseberg/macintosh.js.git
synced 2024-06-27 13:29:37 +00:00
15 lines
285 B
JavaScript
15 lines
285 B
JavaScript
const { app } = require("electron");
|
|
|
|
function setupUpdates() {
|
|
if (app.isPackaged && process.platform !== "linux") {
|
|
require("update-electron-app")({
|
|
repo: "felixrieseberg/macintosh.js",
|
|
updateInterval: "1 hour",
|
|
});
|
|
}
|
|
}
|
|
|
|
module.exports = {
|
|
setupUpdates,
|
|
};
|