File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/vs/workbench/electron-sandbox Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ import { PolicyChannelClient } from 'vs/platform/policy/common/policyIpc';
56
56
import { IPolicyService , NullPolicyService } from 'vs/platform/policy/common/policy' ;
57
57
import { UserDataProfileService } from 'vs/workbench/services/userDataProfile/common/userDataProfileService' ;
58
58
import { IUserDataProfileService } from 'vs/workbench/services/userDataProfile/common/userDataProfile' ;
59
+ import { process } from 'vs/base/parts/sandbox/electron-sandbox/globals' ;
59
60
60
61
export class DesktopMain extends Disposable {
61
62
@@ -184,6 +185,9 @@ export class DesktopMain extends Disposable {
184
185
if ( logService . getLevel ( ) === LogLevel . Trace ) {
185
186
logService . trace ( 'workbench#open(): with configuration' , safeStringify ( this . configuration ) ) ;
186
187
}
188
+ if ( process . sandboxed ) {
189
+ logService . info ( 'Electron sandbox mode is enabled!' ) ;
190
+ }
187
191
188
192
// Shared Process
189
193
const sharedProcessService = new SharedProcessService ( this . configuration . windowId , logService ) ;
You can’t perform that action at this time.
0 commit comments