multi-automator
Version:
Multi terminal automation
30 lines (29 loc) • 622 B
TypeScript
/**
* 系统平台类型
*/
export declare enum SystemPlatform {
LINUX = "linux",
MAC = "mac",
MAC_ARM = "mac_arm",
WIN32 = "win32",
WIN64 = "win64"
}
/**
* 获取系统平台类型
*
* @returns {SystemPlatform | undefined}
*/
export declare function getSystemPlatform(): SystemPlatform | undefined;
/**
* 判断是否是 windows11 系统
*
* @param {string} version 系统版本号
* @returns {boolean}
*/
export declare function isWin11(version: string): boolean;
/**
* 检测 Chromium 安装
*
* @returns {Promise<string>}
*/
export declare function checkChromium(): Promise<string>;