Sort le serveur dans une crate pmoserver

This commit is contained in:
2025-10-06 06:01:41 +02:00
parent 11cfd3e27f
commit 6c13e8cb8e
1229 changed files with 532967 additions and 140 deletions

View File

@@ -0,0 +1,14 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
exports.isWindows = void 0;
if (typeof process === 'object') {
exports.isWindows = process.platform === 'win32';
}
else if (typeof navigator === 'object') {
let userAgent = navigator.userAgent;
exports.isWindows = userAgent.indexOf('Windows') >= 0;
}