1
>
/*---------------------------------------------------------------------------------------------
environmentService.ts
2
>
* Copyright (c) Microsoft Corporation. All rights reserved.
3
>
* Licensed under the MIT License. See License.txt in the project root for license information.
4
>
*--------------------------------------------------------------------------------------------*/
5
>
6
>
import { homedir, tmpdir } from 'os';
7
>
import { NativeParsedArgs } from '../common/argv.js';
8
>
import { IDebugParams } from '../common/environment.js';
9
>
import { AbstractNativeEnvironmentService, parseDebugParams } from '../common/environmentService.js';
10
>
import { getUserDataPath } from './userDataPath.js';
11
>
import { IProductService } from '../../product/common/productService.js';
12
>
13
>
export class NativeEnvironmentService extends AbstractNativeEnvironmentService {
14
>
15
>
constructor(args: NativeParsedArgs, productService: IProductService) {
16
const homeDir = homedir();
17
super(args, {