mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-26 14:29:53 +00:00
update identify of platform
This commit is contained in:
parent
d5babde1fa
commit
91a1ae1cbe
@ -30,9 +30,14 @@ export class HomeBaseService {
|
|||||||
let body = `Version: ${this.appVersion}\n`
|
let body = `Version: ${this.appVersion}\n`
|
||||||
body += `Platform: ${os.platform()} ${os.release()}\n`
|
body += `Platform: ${os.platform()} ${os.release()}\n`
|
||||||
const label = {
|
const label = {
|
||||||
|
aix: 'OS: IBM AIX',
|
||||||
|
android: 'OS: Android',
|
||||||
darwin: 'OS: macOS',
|
darwin: 'OS: macOS',
|
||||||
windows: 'OS: Windows',
|
freebsd: 'OS: FreeBSD',
|
||||||
linux: 'OS: Linux',
|
linux: 'OS: Linux',
|
||||||
|
openbsd: 'OS: OpenBSD',
|
||||||
|
sunos: 'OS: Solaris',
|
||||||
|
win32: 'OS: Windows',
|
||||||
}[os.platform()]
|
}[os.platform()]
|
||||||
const plugins = (window as any).installedPlugins.filter(x => !x.isBuiltin).map(x => x.name)
|
const plugins = (window as any).installedPlugins.filter(x => !x.isBuiltin).map(x => x.name)
|
||||||
body += `Plugins: ${plugins.join(', ') || 'none'}\n\n`
|
body += `Plugins: ${plugins.join(', ') || 'none'}\n\n`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user