mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-08 17:09:07 +08:00
fix import path lack of protocol in product package on windows 11
This commit is contained in:
@@ -23,6 +23,7 @@ export async function initPuppeteer () {
|
||||
) {
|
||||
const electron = await import('electron')
|
||||
const runtimeDependencies = await import(
|
||||
'file://' +
|
||||
path.resolve(
|
||||
electron.app.getAppPath(),
|
||||
'..',
|
||||
|
||||
Reference in New Issue
Block a user