mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-01 20:42:50 +08:00
The script previously checked for a dist/ directory and failed with "Please run this script from the TSMusicBot source directory after building" — requiring users to manually build before installing. Now the script: - Resolves project root from script location (works from any cwd) - Installs build tools (build-essential/gcc) for native modules - Runs npm install + npm run build automatically - Copies built artifacts to /opt/tsmusicbot - Creates data directory for runtime files - Adds journalctl command to the help output https://claude.ai/code/session_016WhH58avUD9xy2dgADJgTh