From 79d42e8015da015060a198f46c000743f9123401 Mon Sep 17 00:00:00 2001 From: Jaap Marsman Date: Sat, 19 Nov 2022 08:33:35 +0800 Subject: [PATCH] fixed folder error on MacOS --- godot/Results.gd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/godot/Results.gd b/godot/Results.gd index 7511921..376abf7 100644 --- a/godot/Results.gd +++ b/godot/Results.gd @@ -85,9 +85,7 @@ func _on_SaveReport_pressed(): if OS.get_name() == "OSX": print("We're on MacOS") - var folder2 = "../../" + folder - - var _openfolder = OS.shell_open(folder2) + var _openfolder = OS.shell_open("file://" + folder) $"%SaveReport".visible = true $"%BackMainMenu".visible = true