Skip to content

Commit

Permalink
chore(deps): electron 15
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Oct 20, 2021
1 parent bda44c2 commit 4b8a74e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions desktop/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ function createWindow () {
enableRemoteModule: false,
webSecurity: true,
nodeIntegration: true
},
}
})

mainWindow.webContents.openDevTools()
// and load the index.html of the app.
mainWindow.loadURL(WinURL)
mainWindow.on('close', function (event: any) {
if (!willQuitApp) {
event.preventDefault()
// event.preventDefault()
// mainWindow?.hide()
}
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@vue/eslint-config-typescript": "7.0.0",
"concurrently": "^6.3.0",
"cross-env": "^7.0.3",
"electron": "^13.1.7",
"electron": "15.2.0",
"electron-builder": "^22.11.7",
"electron-dev-runner": "^1.0.1",
"eslint": "7.32.0",
Expand Down
2 changes: 1 addition & 1 deletion src/use/pdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ export const usePDF = () => {
if (store.state.pdf.normalize['Roboto'])
set['Roboto'] = store.state.pdf.normalize['Roboto']

// @ts-ignore
// @ts-ignore
;(<any>pdfMake).fonts = set
}

Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
dependencies:
perfect-freehand "^1.0.4"

"@electron/get@^1.0.1":
"@electron/get@^1.13.0":
version "1.13.0"
resolved "https://registry.yarnpkg.com/@electron/get/-/get-1.13.0.tgz#95c6bcaff4f9a505ea46792424f451efea89228c"
integrity sha512-+SjZhRuRo+STTO1Fdhzqnv9D2ZhjxXP6egsJ9kiO8dtP68cDx7dFCwWi64dlMQV7sWcfW1OYCW4wviEBzmRsfQ==
Expand Down Expand Up @@ -3036,12 +3036,12 @@ electron-to-chromium@^1.3.846:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.850.tgz#c56c72abfeab051b4b328beb894461c5912d0456"
integrity sha512-ZzkDcdzePeF4dhoGZQT77V2CyJOpwfTZEOg4h0x6R/jQhGt/rIRpbRyVreWLtD7B/WsVxo91URm2WxMKR9JQZA==

electron@^13.1.7:
version "13.5.2"
resolved "https://registry.yarnpkg.com/electron/-/electron-13.5.2.tgz#5c5826e58a5e12bb5ca8047b789d07b45260ecbc"
integrity sha512-CPakwDpy5m8dL0383F5uJboQcVtn9bT/+6/wdDKo8LuTUO9aER1TF41v7feZgZW2c+UwoGPWa814ElSQ3qta2A==
electron@15.2.0:
version "15.2.0"
resolved "https://registry.yarnpkg.com/electron/-/electron-15.2.0.tgz#3068099d1e5c625d1708487de519c59d7c0a8e6e"
integrity sha512-kg0JdlsVbJgD/hO/A7o9VH8U44pQWkIsyt/sALxH6g8CiHQxMujLn2JfB2gyUfHXPT7m8vD4Z+CurS2KodEsWw==
dependencies:
"@electron/get" "^1.0.1"
"@electron/get" "^1.13.0"
"@types/node" "^14.6.2"
extract-zip "^1.0.3"

Expand Down

0 comments on commit 4b8a74e

Please sign in to comment.