mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-18 14:30:29 +00:00
Fix import path for connectToNamedPipe in base.ts
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:
parent
f6b9017429
commit
6268923f01
@ -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) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user