mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
Support brokering from Linux x64 and Intel Macs (#278689)
* Support Linux & Intel Macs This grabs the native files directly since the ones at the root are not expected to work in our cases, namely Intel Mac where we use arm machines to build the x64 build. * actually include macOS intel bits
This commit is contained in:
committed by
GitHub
parent
fd9cf8e3dd
commit
4c96903608
@@ -51,9 +51,7 @@ export class CachedPublicClientApplication implements ICachedPublicClientApplica
|
||||
|
||||
const loggerOptions = new MsalLoggerOptions(_logger, telemetryReporter);
|
||||
let broker: BrokerOptions | undefined;
|
||||
if (process.platform !== 'win32' && process.platform !== 'darwin') {
|
||||
this._logger.info(`[${this._clientId}] Native Broker is only available on Windows and macOS`);
|
||||
} else if (env.uiKind === UIKind.Web) {
|
||||
if (env.uiKind === UIKind.Web) {
|
||||
this._logger.info(`[${this._clientId}] Native Broker is not available in web UI`);
|
||||
} else if (workspace.getConfiguration('microsoft-authentication').get<'msal' | 'msal-no-broker'>('implementation') === 'msal-no-broker') {
|
||||
this._logger.info(`[${this._clientId}] Native Broker disabled via settings`);
|
||||
|
||||
Reference in New Issue
Block a user