open link events

This commit is contained in:
Nordup 2025-08-19 02:38:20 +07:00
parent 1b80249b2b
commit fb4b6e8d45
4 changed files with 33 additions and 5 deletions

View file

@ -1,9 +1,9 @@
extends Resource
class_name AppEvents
signal open_link(uri: String)
signal open_link(url: String)
func open_link_emit(uri: String) -> void:
OS.shell_open(uri) # TODO: move somewhere else
open_link.emit(uri)
func open_link_emit(url: String) -> void:
OS.shell_open(url) # TODO: move somewhere else
open_link.emit(url)