UNPKG

sui-direct

Version:

Decentralized version control system on SUI blockchain

22 lines (21 loc) 425 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Windows = Windows; exports.Linux = Linux; exports.MacOS = MacOS; const platform = process.platform; function Windows(func) { if (platform === "win32") { func(); } } function Linux(func) { if (platform === "linux") { func(); } } function MacOS(func) { if (platform === "darwin") { func(); } }