Fix race condition in reload.sh causing -600 error
Add delay after pkill to give Launch Services time to release the old process handle before opening the new app.
This commit is contained in:
parent
7d951a7f73
commit
7bae1216ff
1 changed files with 1 additions and 0 deletions
|
|
@ -204,6 +204,7 @@ if [[ -n "$TAG" && "$APP_NAME" != "$SEARCH_APP_NAME" ]]; then
|
|||
fi
|
||||
|
||||
pkill -f "${APP_PATH}/Contents/MacOS/" || true
|
||||
sleep 0.3
|
||||
CMUXD_SRC="$PWD/cmuxd/zig-out/bin/cmuxd"
|
||||
if [[ -d "$PWD/cmuxd" ]]; then
|
||||
(cd "$PWD/cmuxd" && zig build -Doptimize=ReleaseFast)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue