mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-23 19:25:32 +02:00
Allow script loading when compiled with PTY_DISABLED
This commit is contained in:
parent
893c768f75
commit
52a89827c9
2 changed files with 21 additions and 10 deletions
|
@ -6,7 +6,10 @@
|
|||
@tool
|
||||
extends Node
|
||||
|
||||
var _LibuvUtils := LibuvUtils
|
||||
var _LibuvUtils = (
|
||||
ClassDB.instantiate("LibuvUtils").get_class() if ClassDB.class_exists("LibuvUtils") else null
|
||||
)
|
||||
|
||||
const _PTYNative := preload("./nodes/pty/pty_native.gd")
|
||||
const _PTYUnix := preload("./nodes/pty/unix/pty_unix.gd")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue