Rebuilt from the exact zed-industries/zed @ 8c74db00c4053d6c0a9037863d7bd048658da4ca tree (previous orphan was based on a stale/wrong fetch). Same 3-file patch: - serial.rs: add SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; add latest_serial_of() - window.rs: activate() uses keyboard-enter serial (Mutter focus gate) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
386 B
Bash
Executable File
22 lines
386 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
channel="$1"
|
|
|
|
query=""
|
|
case $channel in
|
|
stable)
|
|
;;
|
|
preview)
|
|
query="&preview=1"
|
|
;;
|
|
nightly)
|
|
query="&nightly=1"
|
|
;;
|
|
*)
|
|
echo "this must be run on either of stable|preview|nightly release branches" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
curl -s "https://cloud.zed.dev/releases/$channel/latest/asset?asset=zed&os=macos&arch=aarch64" | jq -r .version
|