Skip to content

Commit

Permalink
♻️ main doesn't use preload script
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Nuri <marc@marcnuri.com>
  • Loading branch information
manusa committed Sep 15, 2022
1 parent 992b149 commit 5aec57b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
limitations under the License.
*/
const {BrowserWindow, Notification, app, desktopCapturer, ipcMain: ipc} = require('electron');
const path = require('path');
const {APP_EVENTS} = require('../constants');
const {TABS_CONTAINER_HEIGHT, initTabContainer} = require('../chrome-tabs');
const {loadSettings, updateSettings, openSettingsDialog} = require('../settings');
Expand All @@ -25,8 +24,6 @@ const {initBrowserVersions, userAgentForView} = require('../user-agent');
const webPreferences = {
contextIsolation: false,
nativeWindowOpen: true,
sandbox: false,
preload: path.resolve(__dirname, 'preload.js'),
partition: 'persist:electronim'
};

Expand Down

0 comments on commit 5aec57b

Please sign in to comment.