From 51f1d3ce5d4e40522b99115140e560772c77f765 Mon Sep 17 00:00:00 2001 From: karroffel Date: Fri, 19 Jan 2018 11:53:09 +0100 Subject: [PATCH] allow ~ in godotbinpath --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 068831f1..8336b6b3 100644 --- a/SConstruct +++ b/SConstruct @@ -46,7 +46,7 @@ if ARGUMENTS.get("generate_bindings", "no") == "yes": # TODO Generating the API should be done only if the Godot build is more recent than the JSON file json_api_file = 'godot_api.json' - subprocess.call([godot_bin_path, '--gdnative-generate-json-api', json_api_file]) + subprocess.call([os.path.expanduser(godot_bin_path), '--gdnative-generate-json-api', json_api_file]) # actually create the bindings here