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' ;
12import { app , Menu , MenuItemConstructorOptions } from 'electron' ;
23import * as ElectronStore from 'electron-store' ;
34
@@ -49,8 +50,16 @@ export const getMenu = (browserWindows: Electron.BrowserWindow[]) => {
4950 role : 'help' ,
5051 submenu : [
5152 {
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' ) ) }
5463 }
5564 ]
5665 }
You can’t perform that action at this time.
0 commit comments