156
157
constructor(
159
>
@IFileService private readonly _fileService: IFileService,
160
>
@ILogService private readonly _logService: ILogService,
161
>
@IWindowsMxcTerminalSandboxRuntime private readonly _windowsMxcRuntime: IWindowsMxcTerminalSandboxRuntime,
162
>
) {
163
>
super();
164
>
this._register(Event.runAndSubscribe(this._host.onDidChangeSandboxSettings, () => {
165
>
this.setNeedsForceUpdateConfigFile();
166
>
}));
167
>
this._register(this._host.onDidChangeRoots(() => this.setNeedsForceUpdateConfigFile()));
168
>
}
169
170
async isEnabled(precheckInputs?: ITerminalSandboxPrecheckInputs): Promise<boolean> {