summaryrefslogtreecommitdiff
path: root/src/renderer
diff options
context:
space:
mode:
authorLawnCable <lawncable.tmw2@simonlaux.de>2018-05-23 22:08:48 -0400
committerLawnCable <lawncable.tmw2@simonlaux.de>2018-05-23 22:08:48 -0400
commite48328aac858537871c29953d9f4f2316e0c39dd (patch)
treedd346610d231b68b33b0298da31a214564fe8af9 /src/renderer
parent4ace342635861686f16be98e9969c41c42434147 (diff)
downloadelectron-e48328aac858537871c29953d9f4f2316e0c39dd.tar.gz
electron-e48328aac858537871c29953d9f4f2316e0c39dd.tar.bz2
electron-e48328aac858537871c29953d9f4f2316e0c39dd.tar.xz
electron-e48328aac858537871c29953d9f4f2316e0c39dd.zip
- BugFix on open screenshot folder
- moved the run function into the cross platform file - when you launch the game, the launcher windows gets closed an appears now as Tray Icon
Diffstat (limited to 'src/renderer')
-rw-r--r--src/renderer/gameserver/server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/gameserver/server.ts b/src/renderer/gameserver/server.ts
index e7a1078..d0b4002 100644
--- a/src/renderer/gameserver/server.ts
+++ b/src/renderer/gameserver/server.ts
@@ -271,7 +271,7 @@ ipcRenderer.on('getScreenshots', (event:any, data:{dir:string, screenshots:strin
const openFolderButton = document.createElement('button');
openFolderButton.innerText = "Open folder to see all";
openFolderButton.addEventListener('click', ()=>{
- shell.showItemInFolder(data.dir);
+ shell.openItem(data.dir);
});
screenshots.appendChild(openFolderButton);
}