From c83714866d763ef3ef6d10e8b98232fbf8c0c189 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 15 Jan 2025 08:55:28 -0500 Subject: [PATCH] Update message when desired mod is not available to indicate it will be opened in the browser. --- Toby Doom Launcher.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Toby Doom Launcher.py b/Toby Doom Launcher.py index 7927696..e7c5b70 100755 --- a/Toby Doom Launcher.py +++ b/Toby Doom Launcher.py @@ -1249,7 +1249,7 @@ class DoomLauncher(QMainWindow): message = [ f"You are missing the \"{dep['file']}\" Package.\n", f"You can get it from \"{dep['url']}\"\n", - "The URL has been copied to the clipboard.\n" + "The URL will now open in your browser.\n" ] message.extend(f"{msg}\n" for msg in dep.get('messages', [])) @@ -1259,8 +1259,7 @@ class DoomLauncher(QMainWindow): "".join(message) ) - # Copy URL to clipboard (platform-specific implementation needed) - # For now, try to open the URL in browser + # Open the URL in browser try: webbrowser.open(dep['url']) except Exception: