diff --git a/electron/components/PearlOTA.js b/electron/components/PearlOTA.js index 290587c7f..187916c0e 100644 --- a/electron/components/PearlOTA.js +++ b/electron/components/PearlOTA.js @@ -28,12 +28,7 @@ class PearlOTA { this.updater.autoInstallOnAppQuit = false; this.updater.logger = logger; - this.updater.setFeedURL({ - provider: 'github', - owner: 'valory-xyz', - repo: 'olas-operate-app', - channel: isDev ? 'dev' : 'latest', - }); + this.updater.setFeedURL(githubUpdateOptions); this.#bindUpdaterEvents(); } diff --git a/electron/constants/config.js b/electron/constants/config.js index 7cb1e347e..ac844cd72 100644 --- a/electron/constants/config.js +++ b/electron/constants/config.js @@ -35,7 +35,6 @@ const githubUpdateOptions = { channel: isDev ? 'dev' : 'latest', // The release channel to check for updates, e.g. 'latest', 'beta', 'alpha' vPrefixedTagName: true, protocol: 'https', - // token: process.env.GH_TEST_PAT, // Personal Access Token (PAT) for GitHub when testing }; /**