Skip to content

Add Wine control panel settings action#48

Merged
weter11 merged 1 commit into
mainfrom
codex/-wine
Jun 21, 2026
Merged

Add Wine control panel settings action#48
weter11 merged 1 commit into
mainfrom
codex/-wine

Conversation

@weter11

@weter11 weter11 commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Provide a quick way to open Wine's Control Panel from the Settings window by launching Wine's control.exe using the configured Proton runner and SteamFlow's master Wine prefix.

Description

  • Add launch_wine_control_panel(config: &LauncherConfig) -> Result<()> in src/launch/mod.rs which resolves the default Proton runner, ensures the master Wine prefix exists, sets WINEPREFIX / STEAM_COMPAT_DATA_PATH and other display env vars, and spawns control.exe through the runner.
  • Add a WineControlPanelLaunched variant to the AsyncOp enum and handle it in the operation loop to update the UI status when the control panel is launched.
  • Add a "Wine Tools" section to the Settings window in src/ui.rs with an "Open Wine Control Panel" button that spawns a task to call launch_wine_control_panel and sends success or error AsyncOp events.
  • Minor formatting/cleanup around affected call sites and function signatures to integrate the new helper cleanly.

Testing

  • Ran cargo check which completed successfully (build issued unrelated warnings from a vendored crate).

Codex Task

@weter11 weter11 merged commit 9a51576 into main Jun 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant