Skip to content

Commit ea5b8e2

Browse files
committed
test
1 parent 3570167 commit ea5b8e2

File tree

1 file changed

+3
-1
lines changed
  • packages/neuron-wallet/src/controllers/app

1 file changed

+3
-1
lines changed

packages/neuron-wallet/src/controllers/app/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ export default class AppController {
137137
contextIsolation: false,
138138
preload: path.join(__dirname, './preload.js'),
139139
// disable webSecurity for dev, do not set webSecurity as true, because electron has default set other value when webSecurity is not set by developer
140-
...(app.isPackaged ? {} : { webSecurity: false }),
140+
// ...(app.isPackaged ? {} : { webSecurity: false }),
141+
webSecurity: false,
141142
},
142143
})
143144

@@ -166,6 +167,7 @@ export default class AppController {
166167
})
167168

168169
this.mainWindow.loadURL(env.mainURL)
170+
this.mainWindow.webContents.openDevTools()
169171
this.updateMenu()
170172

171173
return new Promise<void>(resolve => {

0 commit comments

Comments
 (0)