This file is meant to be the src of a webview tag, run in an Electron Shared node context. It won't do much outside of that :)
See the implementation within RoboPaint for an idea of how this is meant to work.