diff --git a/app/menus/menus/help.ts b/app/menus/menus/help.ts index c97d296e..1c296a97 100644 --- a/app/menus/menus/help.ts +++ b/app/menus/menus/help.ts @@ -15,22 +15,20 @@ export default (commands: Record, showAbout: () => void): MenuIt { label: 'Report Issue', click() { - const body = ` - - - [ ] Your Hyper.app version is **${version}**. Please verify your using the [latest](https://github.com/zeit/hyper/releases/latest) Hyper.app version - - [ ] I have searched the [issues](https://github.com/zeit/hyper/issues) of this repo and believe that this is not a duplicate - - --- - - **Any relevant information from devtools?** _(CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere)_: +- [ ] Your Hyper.app version is **${version}**. Please verify your using the [latest](https://github.com/zeit/hyper/releases/latest) Hyper.app version +- [ ] I have searched the [issues](https://github.com/zeit/hyper/issues) of this repo and believe that this is not a duplicate +--- +- **Any relevant information from devtools?** _(CMD+OPTION+I on macOS, CTRL+SHIFT+I elsewhere)_: - - **Is the issue reproducible in vanilla Hyper.app?** +- **Is the issue reproducible in vanilla Hyper.app?** ## Issue @@ -40,24 +38,24 @@ export default (commands: Record, showAbout: () => void): MenuIt - +--- - - **${app.name} version**: ${env.TERM_PROGRAM_VERSION} "${app.getVersion()}" +- **${app.name} version**: ${env.TERM_PROGRAM_VERSION} "${app.getVersion()}" +- **OS ARCH VERSION:** ${platform} ${arch} ${release()} +- **Electron:** ${versions.electron} **LANG:** ${env.LANG} +- **SHELL:** ${env.SHELL} **TERM:** ${env.TERM} +
.hyper.js contents - - **OS ARCH VERSION:** ${platform} ${arch} ${release()} - - **Electron:** ${versions.electron} **LANG:** ${env.LANG} - - **SHELL:** ${env.SHELL} **TERM:** ${env.TERM} +\`\`\`json +${JSON.stringify(getConfig(), null, 2)} +\`\`\` +
+
plugins -
- ~/.hyper.js contents -
-        
-          ${JSON.stringify(getConfig(), null, 2)}
-
-          ${JSON.stringify(getPlugins(), null, 2)}
-        
-      
-
`; +\`\`\`json +${JSON.stringify(getPlugins(), null, 2)} +\`\`\` +
`; shell.openExternal(`https://github.com/zeit/hyper/issues/new?body=${encodeURIComponent(body)}`); }