mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-21 19:22:13 -08:00
Get working on Electron 9, full dependency refresh.
This commit is contained in:
parent
10c88aa7d0
commit
53d5599545
5825
package-lock.json
generated
5825
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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",
|
||||
|
@ -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)
|
||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue
Block a user