Updated CLAUDE.md so hopefully games to not get commented out any more.
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user