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

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