Fix import path for connectToNamedPipe in base.ts
Some checks are pending
Build NapCat Artifacts / Build-Framework (push) Waiting to run
Build NapCat Artifacts / Build-Shell (push) Waiting to run

Updated the import statement for connectToNamedPipe to use a relative path instead of an alias. This resolves issues with module resolution in the napcat-shell package.
This commit is contained in:
手瓜一十雪 2026-01-18 14:50:34 +08:00
parent f6b9017429
commit 6268923f01

View File

@ -35,7 +35,7 @@ import { proxiedListenerOf } from '@/napcat-core/helper/proxy-handler';
import { QQBasicInfoWrapper } from '@/napcat-core/helper/qq-basic-info'; import { QQBasicInfoWrapper } from '@/napcat-core/helper/qq-basic-info';
import { statusHelperSubscription } from '@/napcat-core/helper/status'; import { statusHelperSubscription } from '@/napcat-core/helper/status';
import { applyPendingUpdates } from '@/napcat-webui-backend/src/api/UpdateNapCat'; import { applyPendingUpdates } from '@/napcat-webui-backend/src/api/UpdateNapCat';
import { connectToNamedPipe } from '@/napcat-shell/pipe'; import { connectToNamedPipe } from './pipe';
// NapCat Shell App ES 入口文件 // NapCat Shell App ES 入口文件
async function handleUncaughtExceptions (logger: LogWrapper) { async function handleUncaughtExceptions (logger: LogWrapper) {
process.on('uncaughtException', (err) => { process.on('uncaughtException', (err) => {