NapCatQQ source snapshot
This commit is contained in:
commit
f954252a34
1111 files changed
+139867
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { require_dlopen } from './index';
|
||||
export function pty_loader () {
|
||||
let pty: any;
|
||||
try {
|
||||
pty = require_dlopen('./native/pty/' + process.platform + '.' + process.arch + '/pty.node');
|
||||
} catch {
|
||||
pty = undefined;
|
||||
}
|
||||
return pty;
|
||||
}
|
||||
Reference in new issue
Block a user