refactor: move all utility files to /common

This commit is contained in:
Wesley F. Young committed 2024-08-27 10:18:31 +08:00
1 parent 035d256d4e
commit 17e680f7af
63 files changed
+71 -71

No files matched your search

+1 -1
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');