Skip to content

Commit

Permalink
chore: Remove unused token from electron-updater options
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Jun 5, 2024
1 parent 94bb00b commit 479f87d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion electron/constants/publishOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const publishOptions = {
owner: 'valory-xyz',
repo: 'olas-operate-app',
releaseType: 'draft',
token: process.env.GH_TOKEN,
private: false,
publishAutoUpdate: true,
};
Expand Down
4 changes: 0 additions & 4 deletions electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,11 @@ const { setupStoreIpc } = require('./store');
// Configure environment variables
dotenv.config();

console.log(app.getVersion())
// Attempt to acquire the single instance lock
const singleInstanceLock = app.requestSingleInstanceLock();
if (!singleInstanceLock) app.quit();
const macUpdater = setupMacUpdater(app);


return

const platform = os.platform();
const isDev = process.env.NODE_ENV === 'development';

Expand Down
2 changes: 1 addition & 1 deletion electron/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { publishOptions } = require('./constants/publishOptions');
const setupMacUpdater = (app) => {
/** @type import type { MacUpdater } from "electron-updater" */
const macUpdater = new electronUpdater.MacUpdater(
{ publishOptions, token: undefined, vPrefixedTagName: true },
{ publishOptions, vPrefixedTagName: false },
app,
);

Expand Down

0 comments on commit 479f87d

Please sign in to comment.