mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 18:32:34 +01:00
parent
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);
|
||||
|
Loading…
Reference in New Issue
Block a user