Skip to content

Commit

Permalink
fix: make PearlOTA arch specific
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Sep 27, 2024
1 parent 4a6b95f commit e0f04d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions electron/components/PearlOTA.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { ipcMain } = require('electron');
const { MacUpdater, NsisUpdater } = require('electron-updater');
const os = require('os');
const { logger } = require('../logger');
const { isWindows, isMac, isDev } = require('../constants');
const { githubUpdateOptions } = require('../constants/config');
Expand Down Expand Up @@ -28,6 +29,7 @@ class PearlOTA {
this.updater.autoInstallOnAppQuit = false;
this.updater.logger = logger;
this.updater.forceDevUpdateConfig = isDev;
this.updater.updateConfigPath = `latest-mac-${os.arch()}.yml`;
this.#bindUpdaterEvents();
}

Expand Down

0 comments on commit e0f04d6

Please sign in to comment.