Maximize (not fullscreen) your cross-platform desktop application
If not for macOS "fullscreen" (and some Linux), it wouldn't be a pain.
I have realize the solution for a while, with Golang and Lorca. Nonetheless, it uses cgo
.
If not for macOS "fullscreen" (and some Linux), it wouldn't be a pain.
I have realize the solution for a while, with Golang and Lorca. Nonetheless, it uses cgo
.
And it also allows C compiling to binary, as long as you can get the right setup.
I use this with Node better-sqlite3, where prebuilt binary for Windows is not working (with Electron), and I am running development on MacOS.
As Electron is actually an containerized extended Chromium web engine, I reckon that this must be possible somehow. However, by default, Electron uses ipcMain
/ipcRenderer
rather than http
or websocket
…
As for a lazy reader, you can see my example project at https://github.com/patarapolw/rep2recall-sqlite, which is Python Flask in Electron. There is also a pure TypeScript version -- https://github.com/patarapolw/e-rep2recall