feat: add identifier for universal app in issue reporter and about dialog (#115277)

This commit is contained in:
Robo 2021-01-27 18:29:39 -08:00 committed by GitHub
parent d42bed7957
commit 5e5f2f3b6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -412,7 +412,7 @@ export class IssueMainService implements ICommonIssueService {
},
product: {
nameShort: product.nameShort,
version: product.version,
version: !!product.darwinUniversalAssetId ? `${product.version} (Universal)` : product.version,
commit: product.commit,
date: product.date,
reportIssueUrl: product.reportIssueUrl

View file

@ -159,6 +159,8 @@ export class NativeDialogHandler implements IDialogHandler {
let version = this.productService.version;
if (this.productService.target) {
version = `${version} (${this.productService.target} setup)`;
} else if (this.productService.darwinUniversalAssetId) {
version = `${version} (Universal)`;
}
const osProps = await this.nativeHostService.getOSProperties();