Remove unnecessary call to app.setName
This commit is contained in:
parent
3734bad6ef
commit
cb29074a08
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue