mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-12 01:40:53 +01:00
20 lines
470 B
JavaScript
20 lines
470 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const os_1 = require("os");
|
|
const getPlatform = () => {
|
|
switch ((0, os_1.platform)()) {
|
|
case "aix":
|
|
case "freebsd":
|
|
case "linux":
|
|
case "openbsd":
|
|
case "android":
|
|
return "linux";
|
|
case "darwin":
|
|
case "sunos":
|
|
return "mac";
|
|
case "win32":
|
|
return "win";
|
|
}
|
|
};
|
|
exports.default = getPlatform;
|