mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-05 20:45:31 +02:00
fix(icon): use custom icons for Terminal and PTY
This commit is contained in:
parent
98394bfbf5
commit
608f27ba0c
4 changed files with 8 additions and 8 deletions
|
@ -17,13 +17,8 @@ func _enter_tree():
|
|||
var asciicast_script = preload("./resources/asciicast.gd")
|
||||
add_custom_type("Asciicast", "Animation", asciicast_script, null)
|
||||
|
||||
var terminal_icon = load(
|
||||
"%s/nodes/terminal/terminal_icon.svg" % get_script().resource_path.get_base_dir()
|
||||
)
|
||||
|
||||
if pty_supported:
|
||||
var base_dir = get_script().resource_path.get_base_dir()
|
||||
var pty_icon = load("%s/nodes/pty/pty_icon.svg" % base_dir)
|
||||
var pty_script
|
||||
match OS.get_name():
|
||||
"Linux", "FreeBSD", "NetBSD", "OpenBSD", "BSD", "macOS":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue