File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change
1
+ import * as path from 'path' ;
1
2
import { app , Menu , MenuItemConstructorOptions } from 'electron' ;
2
3
import * as ElectronStore from 'electron-store' ;
3
4
@@ -49,8 +50,16 @@ export const getMenu = (browserWindows: Electron.BrowserWindow[]) => {
49
50
role : 'help' ,
50
51
submenu : [
51
52
{
52
- label : 'Learn More' ,
53
- click ( ) { require ( 'electron' ) . shell . openExternal ( 'https://httptoolkit.tech' ) }
53
+ label : 'Open documentation' ,
54
+ click ( ) { require ( 'electron' ) . shell . openExternal ( 'https://httptoolkit.tech/docs' ) }
55
+ } ,
56
+ {
57
+ label : 'Share your feedback' ,
58
+ click ( ) { require ( 'electron' ) . shell . openExternal ( 'https://github.com/httptoolkit/httptoolkit/issues/new/choose' ) }
59
+ } ,
60
+ {
61
+ label : 'View HTTP Toolkit logs' ,
62
+ click ( ) { require ( 'electron' ) . shell . showItemInFolder ( path . join ( app . getPath ( 'logs' ) , 'last-run.log' ) ) }
54
63
}
55
64
]
56
65
}
You can’t perform that action at this time.
0 commit comments