mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-18 20:30:08 +08:00
Fix import paths for require_dlopen module
Updated import statements in prebuild-loader.ts and windowsPtyAgent.ts to use relative path './index' for require_dlopen. This resolves incorrect module resolution issues.
This commit is contained in:
parent
8645ed4d9d
commit
20e8643193
@ -1,4 +1,4 @@
|
||||
import { require_dlopen } from 'index';
|
||||
import { require_dlopen } from './index';
|
||||
export function pty_loader () {
|
||||
let pty: any;
|
||||
try {
|
||||
|
||||
@ -11,7 +11,7 @@ import { Socket } from 'net';
|
||||
import { ArgvOrCommandLine } from '@homebridge/node-pty-prebuilt-multiarch/src/types';
|
||||
import { fork } from 'child_process';
|
||||
import { ConoutConnection } from './windowsConoutConnection';
|
||||
import { require_dlopen } from '.';
|
||||
import { require_dlopen } from './index';
|
||||
import { fileURLToPath } from 'url';
|
||||
import { dirname } from 'path';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user