asticode / go-astilectron-bootstrap

Create a one-window application using Astilectron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The WebPreferences parameter is invalid

mzky opened this issue · comments

Use the demo.

WebPreferences

  1. Configuration not using 'sandbox' does not take effect.
  2. The 'DevTools' configuration also does not take effect.
  3. Other configurations are normal, such as script execution.

image

image

process

Also, when you close the window with 'x' or 'Ctrl+W', the process still exists.
This problem seems to be unique to Windows.
image

I think the WebPreferences are kind of buggy indeed:

  • to disable sandbox mode, checkout this issue
  • to play with dev tools, you need to manually open/close them