Skip to content

Commit 0e2c650

Browse files
committed
Update about
1 parent 86a7aa0 commit 0e2c650

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

source/code/ui/dialogs/about.gd

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
extends TabContainer
22

3-
var xdg: String = ""
4-
53
func _ready() -> void:
64

75
# Connect signals
@@ -13,28 +11,24 @@ func _ready() -> void:
1311
# Change assets according to theme
1412
get_node("Credits/Home").texture_normal = load("res://assets/ui/themes/"+Main.settings["ui_theme"]+"/logo.svg")
1513
get_node("Credits/Info/Contact").texture_normal = load("res://assets/ui/themes/"+Main.settings["ui_theme"]+"/logo_dev.svg")
16-
17-
# Use xdg
18-
if OS.has_feature("X11"):
19-
xdg = "xdg-open "
2014

2115
# Signals
2216
func _on_Home_pressed() -> void:
23-
OS.shell_open(xdg+Main.metadata["url"]["home"])
17+
OS.shell_open(Main.metadata["url"]["home"])
2418

2519
func _on_Contact_pressed() -> void:
26-
OS.shell_open(xdg+Main.metadata["url"]["contact"])
20+
OS.shell_open(Main.metadata["url"]["contact"])
2721

2822
func _on_Changelog_pressed() -> void:
2923

3024
var _binary_path: String = OS.get_executable_path().get_base_dir()
31-
OS.shell_open(xdg+_binary_path+"/Changelog.pdf")
25+
OS.shell_open(_binary_path+"/Changelog.pdf")
3226

3327
func _on_Group_pressed() -> void:
34-
OS.shell_open(xdg+Main.metadata["url"]["group"])
28+
OS.shell_open(Main.metadata["url"]["group"])
3529

3630
func _on_Credits_meta_clicked(meta) -> void:
37-
OS.shell_open(xdg+str(meta))
31+
OS.shell_open(str(meta))
3832

3933
func _on_License_meta_clicked(meta) -> void:
40-
OS.shell_open(xdg+str(meta))
34+
OS.shell_open(str(meta))

source/code/ui/dialogs/about.tscn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ NinStar
163163
[b]Donors[/b] [color=#F46FF0]♥[/color]
164164
Dr. Farinha
165165
kit
166+
Platior
166167
SimpleDimple
167168
Sam Mayhew
168169
WonderAliceUwU"
@@ -181,6 +182,7 @@ UnixSocket
181182
Donors ♥
182183
Dr. Farinha
183184
kit
185+
Platior
184186
SimpleDimple
185187
Sam Mayhew
186188
WonderAliceUwU"

source/code/ui/dialogs/popups/about.gd

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,4 @@ func confirmation_action() -> void:
1515
if not Main.metadata["url"]["help_"+_locale].empty():
1616
_link = Main.metadata["url"]["help_"+_locale]
1717

18-
if OS.has_feature("X11"):
19-
_link = "xdg-open "+_link
20-
2118
OS.shell_open(_link)

0 commit comments

Comments
 (0)