Files
dsh-easy-desktop/bin/dsh-desktop
Tommy f8a3c2dc6f Add README, plugin citations, and multi-platform release CI.
Ship screenshots and third-party notices for the desktop shell, and
package Windows, macOS, deb, rpm, and Flatpak from GitHub Releases.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 22:02:13 +08:00

14 lines
370 B
Bash
Executable File

#!/bin/sh
# Run a built binary from the checkout, or fall back to cargo.
set -e
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
for candidate in \
"$ROOT/target/release/dsh-desktop" \
"$ROOT/target/debug/dsh-desktop"
do
if [ -x "$candidate" ]; then
exec "$candidate" "$@"
fi
done
exec cargo run --manifest-path "$ROOT/Cargo.toml" -p dsh-desktop -- "$@"