revert to async and change ipc name
This commit is contained in:
parent
21fbc54595
commit
5c102535d9
2 changed files with 2 additions and 2 deletions
|
@ -563,7 +563,7 @@ export class BrowserWindow {
|
|||
});
|
||||
});
|
||||
|
||||
ipcMain.on('check-for-update', async (_event) => {
|
||||
ipcMain.on('checkupdate', async (_event) => {
|
||||
console.log('Checking for updates')
|
||||
const branch = utils.getStoreValue('general.update_branch')
|
||||
let latestbranch = await fetch(`https://circleci.com/api/v1.1/project/gh/ciderapp/Cider/latest/artifacts?branch=${branch}&filter=successful`)
|
||||
|
|
|
@ -3674,7 +3674,7 @@ const app = new Vue({
|
|||
},
|
||||
checkForUpdate() {
|
||||
console.log('Checking for updates...');
|
||||
ipcRenderer.send('check-for-update')
|
||||
ipcRenderer.send('checkupdate')
|
||||
},
|
||||
darwinShare(url) {
|
||||
ipcRenderer.send('share-menu', url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue