Fixed open download folder
This commit is contained in:
parent
aa3670bec1
commit
cd6a2e5d02
2
index.js
2
index.js
@ -82,7 +82,7 @@ app.on('window-all-closed', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
ipcMain.on('openDownloadsFolder', (event)=>{
|
ipcMain.on('openDownloadsFolder', (event)=>{
|
||||||
const { downloadLocation } = require('./server/dist/main.js').settings
|
const { downloadLocation } = require('./server/dist/main.js').getSettings().settings
|
||||||
shell.openPath(downloadLocation)
|
shell.openPath(downloadLocation)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user