diff --git a/CLAUDE.md b/CLAUDE.md index b416d6e..57dddca 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -152,6 +152,7 @@ for f in .includes/*.sh; do bash -n "$f"; done - Examples: `get_wine_bottle()`, `process_launcher_flags()`, `download_file()` - Never use: `getWineBottle()`, `processLauncherFlags()`, `downloadFile()` - **Shebang**: Use `#!/bin/bash` for all bash scripts + - **CRITICAL**: .sh files in .install/ are game installers, not typical bash scripts If they contain # on the first line they are disabled and will not show up in audiogame-manager - **Sourcing pattern**: - **Main script** (`audiogame-manager.sh`): Use `source "${scriptDir}/.includes/file.sh"` (scriptDir is defined at line 4) - **Subdirectory scripts** (game-scripts/, wine/, speech/): Use `source "${0%/*}/../.includes/file.sh"`