Skip to content

Commit 771eedb

Browse files
committed
propagate configuration settings
1 parent 105397c commit 771eedb

4 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/vs/platform/workspace/common/workspace.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ export interface IEnvironment {
9292
isBuilt: boolean;
9393
execPath: string;
9494

95+
applicationName: string;
96+
darwinBundleIdentifier: string;
97+
9598
version: string;
9699
commitHash: string;
97100

src/vs/workbench/electron-main/env.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ export interface IUpdateInfo {
2525
export interface IProductConfiguration {
2626
nameShort: string;
2727
nameLong: string;
28+
applicationName: string;
2829
win32AppUserModelId: string;
2930
win32MutexName: string;
31+
darwinBundleIdentifier: string;
3032
dataFolderName: string;
3133
downloadUrl: string;
3234
updateUrl?: string;

src/vs/workbench/electron-main/window.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ export interface IWindowConfiguration extends env.ICommandLineArguments {
9191
execPath: string;
9292
version: string;
9393
appName: string;
94+
applicationName: string;
95+
darwinBundleIdentifier: string;
9496
appSettingsHome: string;
9597
appSettingsPath: string;
9698
appKeybindingsPath: string;

src/vs/workbench/electron-main/windows.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,8 @@ export class WindowsManager {
585585
configuration.filesToCreate = filesToCreate;
586586
configuration.extensionsToInstall = extensionsToInstall;
587587
configuration.appName = env.product.nameLong;
588+
configuration.applicationName = env.product.applicationName;
589+
configuration.darwinBundleIdentifier = env.product.darwinBundleIdentifier;
588590
configuration.appRoot = env.appRoot;
589591
configuration.version = env.version;
590592
configuration.commitHash = env.product.commit;

0 commit comments

Comments
 (0)