diff --git a/index.js b/index.js index 93d64a7..a1a2b8a 100644 --- a/index.js +++ b/index.js @@ -14,6 +14,7 @@ const fs = require("fs"); const AdmZip = require("adm-zip"); const PluginManager = require("./plugins") const {autoUpdater} = require("electron-updater"); +const os = require("os"); let mainWindow; @@ -539,6 +540,10 @@ function isAppBundled(){ } function installUpdates(){ + if (os.platform() !== "win32"){ + openLinkInBrowser(null, "https://github.com/atticuscornett/mimacro/releases/latest"); + return; + } autoUpdater.checkForUpdates(); autoUpdater.on("update-downloaded", () => { autoUpdater.quitAndInstall();