Skip to content

The swiss army knife of lossless video/audio editing

remove no longer needed code

Mikael Finstad58a68e58a5d2
diff --git a/public/electron.js b/public/electron.js
index 275d5a1a..032afce8 100644
--- a/public/electron.js
+++ b/public/electron.js
@@ -176,16 +176,6 @@ if (!argv.allowMultipleInstances && !safeRequestSingleInstanceLock()) {
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.on('ready', async () => {
- // https://github.com/electron/electron/issues/23757
- // https://github.com/electron/electron/pull/28489
- // TODO I think this can be removed when we are on electron 12 or 14
- if (isDev) {
- electron.protocol.registerFileProtocol('file', (request, callback) => {
- const pathname = decodeURIComponent(request.url.replace('file:///', ''));
- callback(pathname);
- });
- }
-
await configStore.init();
logger.info('CLI arguments', argv);