From 7ca8524f127c98658db4660f03c7c7a277a8dd4e Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Tue, 11 Feb 2020 22:16:03 +0800 Subject: [PATCH] fix warning --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 6bfddb15..0085ba65 100644 --- a/src/index.js +++ b/src/index.js @@ -8,7 +8,7 @@ const { checkNewVersion } = require('./update-checker'); const { app } = electron; const { BrowserWindow } = electron; -app.setName('LosslessCut'); +app.name = 'LosslessCut'; if (!isDev) process.env.NODE_ENV = 'production';