diff --git a/server/src/main.ts b/server/src/main.ts index b858d1fa5..a94818cf3 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -148,7 +148,10 @@ app.on('ready', async () => { mainWindow, { devMode: app.commandLine.hasSwitch('dev'), - libraryDir: app.commandLine.getSwitchValue('libs') + libraryDir: + app.commandLine.getSwitchValue('libs') !== '' + ? app.commandLine.getSwitchValue('libs') + : undefined } ); log.info('server booted');