1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

prompt for updates on block open

This commit is contained in:
Andrew Simachev 2020-07-27 19:38:28 +03:00
parent 9d39a6f038
commit 30a1bc240d
8 changed files with 27 additions and 6 deletions

View file

@ -202,6 +202,10 @@ function createWindow () {
ipcMain.on('exit', (e, relaunch) => {
exit(relaunch);
});
ipcMain.on('update', (e) => {
checkUpdate();
});
ipcMain.on('urlOpen', async (e, url) => {
shell.openExternal(url).catch((error) => {