Improve missing wine error message, add link to wiki on settings page, fix crash when saving settings due to disabling winetricks options

This commit is contained in:
2026-01-14 14:45:16 -06:00
parent 3dbfd23b10
commit b7e2e69af9
2 changed files with 7 additions and 2 deletions

View File

@@ -183,7 +183,8 @@ class W3DHub
# Wine present?
if W3DHub.unix?
wine_present = W3DHub.command("which #{Store.settings[:wine_command]}")
fail!("FAIL FAST: `which #{Store.settings[:wine_command]}` command failed, wine is not installed. Will be unable to create prefixes or launch games.") unless wine_present
fail!("FAIL FAST: `which #{Store.settings[:wine_command]}` command failed, wine is not installed.\n\n"\
"Will be unable to launch game.\n\nCheck wine options in launcher's settings.") unless wine_present
end
end