I am trying to make a launcher for multiple games (running on linux, more specifically Ubuntu.) Trying to open the game file with OS.shell_open(path)
or OS.execute(path, args)
does not work. The code i am using is as follows:
var PATH = dirs[index].replace("user://", OS.get_user_data_dir()) + "/" + data.binary
print(PATH)
OS.execute(PATH, PoolStringArray([]))
get_tree().quit()
I have checked the path, and it is correct. Is this possible, and if so, what am I doing wrong?