feat: add "Open Mods Folder" entry to system tray context menu#56
Open
daymi-el wants to merge 1 commit into
Open
feat: add "Open Mods Folder" entry to system tray context menu#56daymi-el wants to merge 1 commit into
daymi-el wants to merge 1 commit into
Conversation
Exposes the same open-mods-folder action that's already available from the WebSocket UI directly in the tray, so users can reach the folder without launching the UI. Extracts the shared open-folder logic into utils.core.paths.open_folder_in_explorer and routes both the tray callback and the existing WebSocket handler through it, keeping the behaviour in lockstep. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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
Open Mods Folderentry between the version label andQuitin the system tray context menu, exposing the same action that's already available from the WebSocket UI.utils.core.paths.open_folder_in_explorer; both the tray callback and the existing_handle_open_mods_folderWebSocket handler now go through it."xdg-open" if os.name != "nt" else "explorer", sitting inside the non-Windows branch) is dropped by virtue of routing through the util — no other behaviour change at the WebSocket call site.Test plan
Rose v…(disabled), separator,Open Mods Folder, separator,Quit.Open Mods Folder— Explorer opens at%LOCALAPPDATA%\Rose\mods; log showsOpen Mods Folder requested from system tray.%LOCALAPPDATA%\Rose\modsand click again — folder is recreated and opens.[SkinMonitor] Opened mods folder:still logs.Quitstill works.