kopia lustrzana https://github.com/mifi/lossless-cut
rodzic
9d17115bf7
commit
19959439e9
|
@ -1,6 +1,7 @@
|
|||
const electron = require('electron'); // eslint-disable-line
|
||||
const isDev = require('electron-is-dev');
|
||||
const { join } = require('path');
|
||||
const os = require('os');
|
||||
|
||||
const menu = require('./menu');
|
||||
|
||||
|
@ -76,7 +77,9 @@ app.on('ready', async () => {
|
|||
createWindow();
|
||||
menu(app, mainWindow);
|
||||
|
||||
if (!process.windowsStore && !process.mas) {
|
||||
// process.windowsStore is not working. Waiting for fix: https://github.com/electron/electron/issues/18161
|
||||
// if (!process.windowsStore && !process.mas) {
|
||||
if (os.platform() !== 'win32' && !process.mas) {
|
||||
const newVersion = await checkNewVersion();
|
||||
if (newVersion) {
|
||||
menu(app, mainWindow, newVersion);
|
||||
|
|
Ładowanie…
Reference in New Issue