This commit is contained in:
linyuchen committed 2024-04-15 00:09:08 +08:00
1 parent 0ef3e38d70
commit 356aba762c
218 files changed
+8465 -5

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
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();