Meta: Use the binary to run the app instead of open on macos

This should fix the control-c issue mentioned in
https://github.com/LadybirdBrowser/ladybird/issues/68
This commit is contained in:
mbal 2024-07-06 15:07:24 -07:00 committed by Andreas Kling
parent 1759b82114
commit 4b924e6782
Notes: sideshowbarker 2024-07-17 00:59:43 +09:00

View File

@ -191,7 +191,7 @@ build_and_run_lagom_target() {
build_target "${lagom_target}"
if [ "$lagom_target" = "ladybird" ] && [ "$(uname -s)" = "Darwin" ]; then
open --wait-apps --stdout "$(tty)" --stderr "$(tty)" "$BUILD_DIR/bin/Ladybird.app" --args "${lagom_args[@]}"
"$BUILD_DIR/bin/Ladybird.app/Contents/MacOS/Ladybird" "${lagom_args[@]}"
else
local lagom_bin="$lagom_target"
if [ "$lagom_bin" = "ladybird" ]; then