Skip to content

fix: macOS Project Gorgon file path split#6

Open
cprivitere wants to merge 1 commit into
danielout:mainfrom
cprivitere:fix/macos-file-paths
Open

fix: macOS Project Gorgon file path split#6
cprivitere wants to merge 1 commit into
danielout:mainfrom
cprivitere:fix/macos-file-paths

Conversation

@cprivitere
Copy link
Copy Markdown

@cprivitere cprivitere commented May 13, 2026

Summary

Fixes Project Gorgon file detection on macOS where Player.log and game data (ChatLogs, Reports, Books) live in two separate locations — unlike Windows where everything is under one directory.

Changes

Rust backend:

  • settings.rs: Added get_default_player_log_path() returning macOS path ~/Library/Logs/Elder Game/Project Gorgon/Player.log; added macOS branch to get_default_game_data_path() returning ~/Library/Application Support/unity.Elder Game.Project Gorgon/; get_player_log_path() now checks explicit log_file_path setting first before falling back to game_data_path/Player.log for Windows compat
  • setup_commands.rs: Validation checks both the game data directory and the default macOS Player.log path
  • lib.rs: Registered new get_default_player_log_path_command and get_default_game_data_path_command

Frontend:

  • settingsStore.ts: Fixed hardcoded Windows backslash path separators; updateGameDataPath no longer overwrites Player.log path on macOS when paths are independent
  • GeneralSettings.vue: Added visible/editable Player.log path field with Browse button; added Reset Both to Defaults button; updated UI text for macOS
  • SetupPathStep.vue, HelpSetupTab.vue: Updated UI text to reference macOS paths

@cprivitere cprivitere marked this pull request as draft May 13, 2026 21:32
@cprivitere cprivitere force-pushed the fix/macos-file-paths branch 2 times, most recently from 93e9197 to 93c1905 Compare May 13, 2026 21:34
@cprivitere cprivitere marked this pull request as ready for review May 13, 2026 21:36
@cprivitere cprivitere force-pushed the fix/macos-file-paths branch 2 times, most recently from 48e7ec0 to 4d058f0 Compare May 14, 2026 00:22
@cprivitere cprivitere force-pushed the fix/macos-file-paths branch from 4d058f0 to 78a8266 Compare May 14, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant