From 98829aa916146ac6d3c39052a8d734fc6cca3c51 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 3 Oct 2018 13:50:52 -0700 Subject: [PATCH] fix default_app.js calling no-longer-existent API --- default_app/default_app.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/default_app/default_app.js b/default_app/default_app.js index 60a81a618889..c4621c748feb 100644 --- a/default_app/default_app.js +++ b/default_app/default_app.js @@ -1,4 +1,4 @@ -const { app, BrowserWindow, systemPreferences } = require('electron') +const { app, BrowserWindow } = require('electron') const path = require('path') let mainWindow = null @@ -11,10 +11,6 @@ app.on('window-all-closed', () => { exports.load = async (appUrl) => { await app.whenReady() - if (process.platform === 'darwin') { - systemPreferences.startAppLevelAppearanceTrackingOS() - } - const options = { width: 900, height: 600,