1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-25 11:43:17 +01:00

remove backward compat

This commit is contained in:
Mikael Finstad 2023-04-08 23:51:31 +09:00
parent 2830ec0e9b
commit 654cc2cd46
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

@ -259,9 +259,6 @@ const readyPromise = app.whenReady();
logger.info('Initializing config store');
await configStore.init();
// todo remove backwards compat:
if (argv.allowMultipleInstances) configStore.set('allowMultipleInstances', true);
const allowMultipleInstances = configStore.get('allowMultipleInstances');
if (!allowMultipleInstances && !safeRequestSingleInstanceLock({ argv: process.argv })) {