mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 11:17:26 -04:00
open_link signal
This commit is contained in:
parent
c868162ed8
commit
1b80249b2b
10 changed files with 29 additions and 8 deletions
9
app/scripts/resources/app_events.gd
Normal file
9
app/scripts/resources/app_events.gd
Normal file
|
@ -0,0 +1,9 @@
|
|||
extends Resource
|
||||
class_name AppEvents
|
||||
|
||||
signal open_link(uri: String)
|
||||
|
||||
|
||||
func open_link_emit(uri: String) -> void:
|
||||
OS.shell_open(uri) # TODO: move somewhere else
|
||||
open_link.emit(uri)
|
Loading…
Add table
Add a link
Reference in a new issue