Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleHorrorRus committed Dec 20, 2020
1 parent c75f254 commit 40491f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/mainWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,10 @@ const open = () => {
};

window.webContents.once("dom-ready", () => {
autoUpdater.on("update-available", info => {
send("update-available", info);
});

autoUpdater.on("update-available", info => send("update-available", info));
autoUpdater.checkForUpdates();
});

ipcMain.answerRenderer("config", () => config);

ipcMain.on("saveSettings", (_, args) =>
Expand Down

0 comments on commit 40491f4

Please sign in to comment.