mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
9 lines
312 B
TypeScript
9 lines
312 B
TypeScript
import os from 'node:os';
|
|
import path from 'node:path';
|
|
|
|
export const systemPlatform = os.platform();
|
|
export const systemVersion = os.release();
|
|
export const hostname = os.hostname();
|
|
const homeDir = os.homedir();
|
|
export const downloadsPath = path.join(homeDir, 'Downloads');
|
|
export const systemName = os.type(); |