fix: first get image rkey

This commit is contained in:
linyuchen
2024-04-27 21:06:58 +08:00
parent 62346d7d9d
commit a8bce36f3b
6 changed files with 5 additions and 3 deletions

View File

@@ -2,8 +2,9 @@ import os from 'node:os';
import path from 'node:path';
export const systemPlatform = os.platform();
export const cpuArch = os.arch();
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();
export const systemName = os.type();