17 lines
594 B
JavaScript
17 lines
594 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.is_windows = exports.EArch = exports.EPlatform = void 0;
|
|
var EPlatform;
|
|
(function (EPlatform) {
|
|
EPlatform["Linux"] = "linux";
|
|
EPlatform["Windows"] = "win32";
|
|
EPlatform["OSX"] = "darwin";
|
|
})(EPlatform || (exports.EPlatform = EPlatform = {}));
|
|
var EArch;
|
|
(function (EArch) {
|
|
EArch["x64"] = "64";
|
|
EArch["x32"] = "32";
|
|
})(EArch || (exports.EArch = EArch = {}));
|
|
const is_windows = () => process && (process.platform === 'win32');
|
|
exports.is_windows = is_windows;
|
|
//# sourceMappingURL=os.js.map
|