Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(web): use HOME_DIR under set -u in install-cli script
Richie McIlroya1bbbd6a38bd
diff --git a/apps/web/app/install-cli.sh/route.ts b/apps/web/app/install-cli.sh/route.tsindex c7564ef4b..bfef35a9a 100644--- a/apps/web/app/install-cli.sh/route.ts+++ b/apps/web/app/install-cli.sh/route.ts@@ -12,7 +12,7 @@ CLI_INSTALL_DIR_OVERRIDE="${capCliInstallDirParameter}"HOME_DIR="${homeParameter}"if [ -z "$APP_PATH" ]; then- for candidate in "/Applications/Cap.app" "$HOME/Applications/Cap.app"; do+ for candidate in "/Applications/Cap.app" "$HOME_DIR/Applications/Cap.app"; doif [ -d "$candidate" ]; thenAPP_PATH="$candidate"break