Get working on Electron 9, full dependency refresh.

ts-refactor
Daniel Scalzi 2020-07-15 21:07:40 -04:00
parent 10c88aa7d0
commit 53d5599545
No known key found for this signature in database
GPG Key ID: D18EA3FB4B142A57
4 changed files with 2537 additions and 3293 deletions

5825
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -71,6 +71,7 @@
"cross-env": "^7.0.2",
"electron": "^9.1.0",
"electron-builder": "^22.7.0",
"electron-devtools-installer": "^3.1.0",
"electron-webpack": "^2.8.2",
"electron-webpack-ts": "^4.0.1",
"eslint": "^7.4.0",

View File

@ -5,6 +5,8 @@ import { format } from 'url'
import { autoUpdater } from 'electron-updater'
import isdev from '../common/util/isdev'
declare const __static: string
const installExtensions = async () => {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const installer = require('electron-devtools-installer')
@ -240,7 +242,7 @@ function getPlatformIcon(filename: string){
break
}
return join(__dirname, '..', 'assets', 'images', `${filename}.${ext}`)
return join(__static, 'images', `${filename}.${ext}`)
}
app.on('ready', createWindow)

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB