From eb1529d13c4258bcdb83a4c832c8b7559247898a Mon Sep 17 00:00:00 2001 From: Lacy Morrow Date: Mon, 8 Jun 2026 22:48:37 -0400 Subject: [PATCH] fix: add missing TROUBLESHOOTING_URL and COMPATIBILITY_URL constants These were imported in menu.js but never defined in config.js, causing an uncaught exception on app start from openUrlMenuItem. --- src/config/config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/config.js b/src/config/config.js index 79a477f..f2bc4d3 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -10,6 +10,8 @@ const DEFAULT_DEBOUNCE = 20 const DEFAULT_THEME = 'light' const ALERT_URL = 'https://raw.githubusercontent.com/lacymorrow/crossover/master/CROSSOVER_ALERT' const HOMEPAGE_URL = 'https://lacymorrow.github.io/crossover' +const TROUBLESHOOTING_URL = 'https://github.com/lacymorrow/crossover#game-compatibility' +const COMPATIBILITY_URL = 'https://github.com/lacymorrow/crossover/issues/47' const RELEASES_URL = 'https://github.com/lacymorrow/crossover/releases/latest' const APP_ASPECT_RATIO = 16 / 10 const APP_HEIGHT_MEDIUM = 225 @@ -43,8 +45,10 @@ const config = { DEFAULT_THEME, FILE_FILTERS, ALERT_URL, + COMPATIBILITY_URL, HOMEPAGE_URL, RELEASES_URL, + TROUBLESHOOTING_URL, MAX_SHADOW_WINDOWS, SETTINGS_WINDOW_DEVTOOLS, SHADOW_WINDOW_OFFSET,