diff options
| author | J08nY | 2017-10-13 16:45:24 +0200 |
|---|---|---|
| committer | J08nY | 2017-10-13 16:45:24 +0200 |
| commit | b1252caa10b9016547e1a99f546254fa61b335b9 (patch) | |
| tree | 6786eb48cf0871932583d19a1bbe92dbfb60338f /platform/osx/export/export.cpp | |
| parent | 6147c04ae2eace58b4283d2facd1b71ef557a12c (diff) | |
| download | godot-fix/use-bin-name.tar.gz godot-fix/use-bin-name.tar.zst godot-fix/use-bin-name.zip | |
Diffstat (limited to 'platform/osx/export/export.cpp')
| -rw-r--r-- | platform/osx/export/export.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp index 0ba0ddec7..8a6f1dc04 100644 --- a/platform/osx/export/export.cpp +++ b/platform/osx/export/export.cpp @@ -244,7 +244,7 @@ Error EditorExportPlatformOSX::_code_sign(const Ref<EditorExportPreset> &p_prese args.push_back(p_path); String str; - Error err = OS::get_singleton()->execute("/usr/bin/codesign", args, true, NULL, &str, NULL, true); + Error err = OS::get_singleton()->execute("codesign", args, true, NULL, &str, NULL, true); ERR_FAIL_COND_V(err != OK, err); print_line("codesign: " + str); @@ -271,7 +271,7 @@ Error EditorExportPlatformOSX::_create_dmg(const String &p_dmg_path, const Strin args.push_back(p_app_path_name); String str; - Error err = OS::get_singleton()->execute("/usr/bin/hdiutil", args, true, NULL, &str, NULL, true); + Error err = OS::get_singleton()->execute("hdiutil", args, true, NULL, &str, NULL, true); ERR_FAIL_COND_V(err != OK, err); print_line("hdiutil returned: " + str); |
