Files
dealplustech/dealplustech-astro/node_modules/astro/dist/cli/infra/process-operating-system-provider.js
2026-03-02 12:35:14 +07:00

13 lines
283 B
JavaScript

class ProcessOperatingSystemProvider {
#platformToOs = {
darwin: "macOS",
win32: "Windows",
linux: "Linux"
};
name = process.platform;
displayName = `${this.#platformToOs[this.name] ?? this.name} (${process.arch})`;
}
export {
ProcessOperatingSystemProvider
};