Integrated aegir as lint
Following up on https://github.com/ipfs/ipfs-desktop/pull/2959
Fixing error type by wrapping in String()
removing enableRemoteModule from BrowserWindow Electron module
last mentions in the docs: https://www.electronjs.org/blog/electron-10-0#breaking-changes
Why? https://www.electronjs.org/docs/latest/breaking-changes#default-changed-enableremotemodule-defaults-to-false
And figured out how to access a height and width property by following docs
https://www.electronjs.org/docs/latest/api/structures/display
Further Updating getUserMedia
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
outdated API for getting media streams from the user's device. The mandatory object and properties like chromeMediaSource are specific to older implementations and may not be compatible with modern browsers.
Makes a lot of sense
I do believe that aegir related lint improvements could be discarded
But I have created smaller prs based on this large pr