- update electron from 7.2.4 to 11.0.2
- upgrade electron-related dependencies to latest
- replace deprecated occurrences of webview.getWebContents() with require("electron").remote.webContents.fromId(webview.getWebContentsId())
- add enableRemoteModule: true to createWindow() in main.js until https://github.com/electron/electron/issues/21408 is resolved
For both Rambox UI and Rambox Services (tabs)
Added checkbox in preferences enabling dark theme globally
Needs work:
- add dynamic update of services when toggled
(now they need to be reloaded)
- toggle global dark mode with hotkey
- add toggle per service (now it's global)
-- and a hotkey for that too; toggle current tab
-- toggle from the top, hideable menus bar or to the services row
Every minute it checks if available disk space < 1 GB.
It requires new module - diskspace - works on Windows Linux and Mac.
Tested only on Linux.
If the partition where Rambox is running from has < 1 GB available space:
- a warning dialog appears and Rambox freezes (synchronous dialog).
Dialog has info about:
-- remaining space
-- rambox/electron installation path
-- instruction to free up more space and that the app will exit upon dialog dismissal
-- OK button which quits Rambox
No matter how the dialog is dismissed, Rambox quits.
Every minute it check free disk space.
It uses new module - diskspace - works on Windows Linux and Mac.
If the partition where Rambox is installed has < 1 GB available space:
- a warning dialog appears with info about:
-- remaining space
-- rambox/electron installation path
-- OK button which quits Rambox
No matter how the dialog is dismissed, it will quit Rambox.