mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
feat: add identifier for universal app in issue reporter and about dialog (#115277)
This commit is contained in:
parent
d42bed7957
commit
5e5f2f3b6b
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue