electron-17: added logic to open the completed directory under the crashes directory

This commit is contained in:
Vishwas Shashidhar 2017-09-26 23:26:11 +05:30
parent 40cf6b6d73
commit 6d0d5145af

View File

@ -67,7 +67,10 @@ const template = [{
},
{
label: 'Open Crashes Directory',
click() { electron.shell.showItemInFolder(electron.crashReporter.getCrashesDirectory()); }
click() {
const crashesDirectory = electron.crashReporter.getCrashesDirectory() + '/completed';
electron.shell.showItemInFolder(crashesDirectory);
}
},
{
type: 'separator'