making overlay work with separate react file

This commit is contained in:
talksik
2022-04-28 06:18:24 -05:00
parent b109e04ef8
commit f38436ae0c
4 changed files with 36 additions and 3 deletions
+10 -2
View File
@@ -55,8 +55,8 @@
[
"@electron-forge/plugin-webpack",
{
"port": "3001",
"loggerPort": "9001",
"port": "4000",
"loggerPort": "9003",
"mainConfig": "./webpack.main.config.js",
"devContentSecurityPolicy": "connect-src 'self' http://localhost:5000 ws://localhost:5000 'unsafe-eval'",
"renderer": {
@@ -69,6 +69,14 @@
"preload": {
"js": "./src/electron/preload.ts"
}
},
{
"html": "./src/index.html",
"js": "./src/rendererTwo.ts",
"name": "second_window",
"preload": {
"js": "./src/electron/preload.ts"
}
}
]
}