Fixed open download folder

This commit is contained in:
RemixDev 2021-06-05 14:39:41 +02:00
parent aa3670bec1
commit cd6a2e5d02

View file

@ -82,7 +82,7 @@ app.on('window-all-closed', () => {
})
ipcMain.on('openDownloadsFolder', (event)=>{
const { downloadLocation } = require('./server/dist/main.js').settings
const { downloadLocation } = require('./server/dist/main.js').getSettings().settings
shell.openPath(downloadLocation)
})