Remove unnecessary call to app.setName

This commit is contained in:
Svallinn 2021-03-07 16:08:03 +00:00
parent 3734bad6ef
commit cb29074a08
No known key found for this signature in database
GPG Key ID: 09FB527F34037CCA
1 changed files with 0 additions and 4 deletions

View File

@ -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')