qortal-ui/lib/detect-platform.js
AlphaX-Projects fa29ff4c43 Update UI
Refactor and added new functioms
2024-05-08 13:16:23 +02:00

7 lines
200 B
JavaScript

const os = require('os')
const isMac = os.platform() === "darwin"
const isWindows = os.platform() === "win32"
const isLinux = os.platform() === "linux"
module.exports = { isMac, isWindows, isLinux }