refactor: move all utility files to /common

This commit is contained in:
Wesley F. Young
2024-08-27 10:17:19 +08:00
parent 035d256d4e
commit 17e680f7af
63 changed files with 71 additions and 71 deletions

View File

@@ -1,7 +1,7 @@
import path from 'node:path';
import fs from 'node:fs';
import { PlatformType, VendorType, WrapperSessionInitConfig } from './wrapper';
import { getMachineId, hostname, systemName, systemVersion } from '@/common/utils/system';
import { getMachineId, hostname, systemName, systemVersion } from '@/common/system';
export async function genSessionConfig(QQVersionAppid: string, QQVersion: string, selfUin: string, selfUid: string, account_path: string): Promise<WrapperSessionInitConfig> {
const downloadPath = path.join(account_path, 'NapCat', 'temp');