From cb29074a08f82f39fc6add08c2d5447544bca68d Mon Sep 17 00:00:00 2001 From: Svallinn <41585298+Svallinn@users.noreply.github.com> Date: Sun, 7 Mar 2021 16:08:03 +0000 Subject: [PATCH] Remove unnecessary call to app.setName --- src/main/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/index.js b/src/main/index.js index 8b320793..c2e8d1e9 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -1,5 +1,4 @@ import { app, BrowserWindow, Menu, ipcMain, screen } from 'electron' -import { productName } from '../../package.json' import Datastore from 'nedb' if (process.argv.includes('--version')) { @@ -26,9 +25,6 @@ function runApp() { autoload: true }) - // set app name - app.setName(productName) - // disable electron warning process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 'true' const path = require('path')