mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-05 10:59:54 +00:00
include proper tags in github issues
This commit is contained in:
parent
947e0f8b66
commit
2411713501
@ -25,12 +25,14 @@ export class HomeBaseService {
|
||||
|
||||
reportBug () {
|
||||
let body = `Version: ${this.appVersion}\n`
|
||||
body += `Platform: ${os.platform()} ${os.release()}\n\n`
|
||||
body += `Platform: ${os.platform()} ${os.release()}\n`
|
||||
let label = {
|
||||
darwin: 'macOS',
|
||||
windows: 'Windows',
|
||||
linux: 'Linux',
|
||||
darwin: 'OS: macOS',
|
||||
windows: 'OS: Windows',
|
||||
linux: 'OS: Linux',
|
||||
}[os.platform()]
|
||||
let plugins = (window as any).installedPlugins.filter(x => !x.isBuiltin).map(x => x.name)
|
||||
body += `Plugins: ${plugins.join(', ')}\n\n`
|
||||
this.electron.shell.openExternal(`https://github.com/eugeny/terminus/issues/new?body=${encodeURIComponent(body)}&labels=${label}`)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user