allow ~ in godotbinpath

pull/75/head
karroffel 2018-01-19 11:53:09 +01:00
parent 8c053fc35f
commit 51f1d3ce5d
1 changed files with 1 additions and 1 deletions

View File

@ -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 # 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' 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 # actually create the bindings here