Issue: Application crashed when installed in Program Files due to
UnauthorizedAccessException when trying to write log files to the
installation directory.
Changes:
- SystemInfo.cs: Updated error logging to use LocalApplicationData/PSG-Oversight
- OsqueryService.cs: Added GetLogPath() helper method and updated all log writes
to use user's AppData directory instead of current directory
- Added try-catch wrappers to silently handle any remaining logging failures
All log files now write to: %LOCALAPPDATA%\PSG-Oversight\
This fixes the startup crash reported in Event Viewer when running
the installed application.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>