Refactor desktop shortcut creation logic

Removed redundant desktop shortcut creation for NonSteamLaunchers.
This commit is contained in:
Roy
2026-01-08 02:17:03 -08:00
committed by GitHub
parent a9f987ba69
commit 0f6f8e9996
-3
View File
@@ -1232,9 +1232,6 @@ window.createShortcut = async function(data) {
}
}
await SteamClient.Apps.CreateDesktopShortcutForApp(shortcutId);
console.log("Desktop shortcut created for shortcut:", shortcutId);
if (data.appname !== "NonSteamLaunchers") {
await SteamClient.Apps.CreateDesktopShortcutForApp(shortcutId);
console.log("Desktop shortcut created for shortcut:", shortcutId);