Skip to content

Fix the timer not working

Latest
Compare
Choose a tag to compare
@rollersteaam rollersteaam released this 21 Jun 14:19
  • Fixed the timer not working as of v1.1.1 on Linux machines.

The problem was because of the version update of Electron performed in the last patch that introduced new security settings. This meant that, by default, the renderer process can't use the require function. This caused execution of all scripts to halt as a result of require not being defined. The fix was to allow nodeIntegrations for BrowserWindow, therefore allowing use of require. This has no security implications because Chronobreak does not use any libraries, other than Electron itself.