diff options
Diffstat (limited to 'src/main/manaplus/manaplus.ts')
-rw-r--r-- | src/main/manaplus/manaplus.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/manaplus/manaplus.ts b/src/main/manaplus/manaplus.ts index 9c3336d..6088dba 100644 --- a/src/main/manaplus/manaplus.ts +++ b/src/main/manaplus/manaplus.ts @@ -99,6 +99,7 @@ ipcMain.on('getScreenshots', (event:any, arg:string)=> { event.sender.send('getScreenshots', {dir:screenshotsDir, screenshots:screenshots.reverse().slice(0, 24)}); }); }); + EventEmitter.on('Mana:openScreenshotDir', ()=>{ shell.openItem(path.normalize(app.getPath('userData')+`/screenshots/${CurrentServer.address}/`)); }); |