From 91a1ae1cbeacef0a067ca1b14a6e2f852ca00726 Mon Sep 17 00:00:00 2001 From: Cyril Taylor Date: Mon, 20 Jan 2020 15:30:39 +0800 Subject: [PATCH] update identify of platform --- terminus-core/src/services/homeBase.service.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/terminus-core/src/services/homeBase.service.ts b/terminus-core/src/services/homeBase.service.ts index 934a2484..f04beed1 100644 --- a/terminus-core/src/services/homeBase.service.ts +++ b/terminus-core/src/services/homeBase.service.ts @@ -30,9 +30,14 @@ export class HomeBaseService { let body = `Version: ${this.appVersion}\n` body += `Platform: ${os.platform()} ${os.release()}\n` const label = { + aix: 'OS: IBM AIX', + android: 'OS: Android', darwin: 'OS: macOS', - windows: 'OS: Windows', + freebsd: 'OS: FreeBSD', linux: 'OS: Linux', + openbsd: 'OS: OpenBSD', + sunos: 'OS: Solaris', + win32: 'OS: Windows', }[os.platform()] const plugins = (window as any).installedPlugins.filter(x => !x.isBuiltin).map(x => x.name) body += `Plugins: ${plugins.join(', ') || 'none'}\n\n`