-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.command
More file actions
17 lines (17 loc) · 825 Bytes
/
Copy pathinstall.command
File metadata and controls
17 lines (17 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# Neuron — click-and-go installer (macOS/Linux). Double-click me.
# Runs the unified Gray Matter installer via install.sh (add --no-gm for standalone).
#
# ./install.command normal install
# ./install.command --force repair: reinstall the code at the same version
# ./install.command --clear last resort: wipe the venv and rebuild (implies --force)
# CODE only — graphs, knowledge.db and bridges are kept
#
# "$@" forwarded so the flags work from a terminal; a double-click passes none.
cd "$(dirname "$0")" || exit 1
sh install.sh "$@"
RC=$?
echo; printf "Done. Press Enter to close."; read -r _
# Propagate the installer's exit code — parity with the Windows .cmd. `read`
# alone returned its own status, so a failed install looked successful.
exit $RC