Added Apple Silicon support by building a universal package.
Added also options to build x86_64 or arm64 package.
Tested on Mac with M1 and Intel arch. PoC can be found here: https://github.com/KevinRoebert/rambox-build/releases
- 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
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.