|
|
@@ -25,6 +25,7 @@ let webConfig = {
|
|
|
console.log(__dirname + "\\config.json")
|
|
|
if (fs.existsSync("./config.json")) {
|
|
|
webConfig = JSON.parse(fs.readFileSync('./config.json', 'utf-8'))
|
|
|
+ webConfig.webPreferences.preload = path.join(__dirname, "preload.js")
|
|
|
enterURL = webConfig.enterURL
|
|
|
}
|
|
|
|