PyInstaller wasn't bundling pvporcupine's resource files (keyword_files and lib directories), causing a FileNotFoundError at runtime when pvporcupine tried to access its resources directory. Changes: - Added code to detect and include pvporcupine resources and lib folders - Falls back gracefully if pvporcupine is not installed - Resources are bundled even though we don't use wake word features (pvporcupine initializes and checks for these on import) This fixes the runtime error: FileNotFoundError: [WinError 3] The system cannot find the path specified: '...\pvporcupine\resources/keyword_files\windows' 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
5.4 KiB
5.4 KiB