From cfe94755ee185d87f72d89714c279a60ce7ddd44 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Sun, 23 Mar 2025 01:22:25 -0700 Subject: [PATCH] Update NSLGameScanner.py --- NSLGameScanner.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index 00d511b..d424715 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -514,6 +514,11 @@ def create_new_entry(shortcutdirectory, appname, launchoptions, startingdir): # **Intercept and modify the shortcut based on UMU data** exe_path, startingdir, launchoptions = modify_shortcut_for_umu(appname, exe_path, launchoptions, startingdir) + + # Check if the modified shortcut already exists + if check_if_shortcut_exists(signed_shortcut_id, appname, exe_path, startingdir, launchoptions): + print(f"Skipping creation for already existing shortcut of {appname}.") + return # Check if the shortcut has already been processed by UMU and skip compat tool if so if unsigned_shortcut_id in umu_processed_shortcuts: