Fixed model selection and the install script now properly works when not sudo

This commit is contained in:
plean committed 2026-08-11 00:47:20 +00:00
1 parent f7e7f2694a
commit ac8f72cfe5
3 files changed
+44 -17

No files matched your search

+3 -3
View File
@@ -68,9 +68,9 @@ echo "Copying SKILL.md to $SKILLS_DIR..."
cp "$SKILL_MD" "$SKILLS_DIR/SKILL.md"
# Copy businessman binary to /usr/local/bin
echo "Copying businessman to $BIN_DIR..."
cp "$BUSINESSMAN_TEMP" "$BIN_DIR/businessman"
chmod +x "$BIN_DIR/businessman"
# /usr/local/bin is root-owned, so the copy must run as sudo
echo "Copying businessman to $BIN_DIR (sudo)..."
sudo install -m 755 "$BUSINESSMAN_TEMP" "$BIN_DIR/businessman"
# Cleanup
rm -f "$BUSINESSMAN_TEMP"