fix: window extraPath in production
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ export function createWindow(
|
||||
process.env["ELECTRON_RENDERER_URL"] + (options?.extraPath || ""),
|
||||
)
|
||||
} else {
|
||||
window.loadFile(path.resolve(__dirname, "../renderer/index.html"))
|
||||
window.loadFile(path.resolve(__dirname, `../renderer/index.html${options?.extraPath || ""}`))
|
||||
}
|
||||
|
||||
const refererMatchs = [
|
||||
|
||||
Reference in New Issue
Block a user