upgrade to electron v16 and node v16

This commit is contained in:
zadam
2021-11-16 22:43:08 +01:00
parent b7efc92099
commit 89322c4b03
17 changed files with 228 additions and 90 deletions

View File

@@ -7,7 +7,7 @@ function getFileUrl(noteId) {
function download(url) {
if (utils.isElectron()) {
const remote = utils.dynamicRequire('electron').remote;
const remote = utils.dynamicRequire('@electron/remote');
remote.getCurrentWebContents().downloadURL(url);
} else {