From 2411713501a640505c420853d98af3c739add7a9 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 20 Sep 2018 12:12:45 +0200 Subject: [PATCH] include proper tags in github issues --- terminus-core/src/services/homeBase.service.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/terminus-core/src/services/homeBase.service.ts b/terminus-core/src/services/homeBase.service.ts index 9117467c..80e9c70c 100644 --- a/terminus-core/src/services/homeBase.service.ts +++ b/terminus-core/src/services/homeBase.service.ts @@ -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}`) }