fix: macOS Project Gorgon file path split#6
Open
cprivitere wants to merge 1 commit into
Open
Conversation
93e9197 to
93c1905
Compare
48e7ec0 to
4d058f0
Compare
…are in separate locations
4d058f0 to
78a8266
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: Addedget_default_player_log_path()returning macOS path~/Library/Logs/Elder Game/Project Gorgon/Player.log; added macOS branch toget_default_game_data_path()returning~/Library/Application Support/unity.Elder Game.Project Gorgon/;get_player_log_path()now checks explicitlog_file_pathsetting first before falling back togame_data_path/Player.logfor Windows compatsetup_commands.rs: Validation checks both the game data directory and the default macOS Player.log pathlib.rs: Registered newget_default_player_log_path_commandandget_default_game_data_path_commandFrontend:
settingsStore.ts: Fixed hardcoded Windows backslash path separators;updateGameDataPathno longer overwrites Player.log path on macOS when paths are independentGeneralSettings.vue: Added visible/editable Player.log path field with Browse button; added Reset Both to Defaults button; updated UI text for macOSSetupPathStep.vue,HelpSetupTab.vue: Updated UI text to reference macOS paths