mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2026-06-13 04:04:59 +03:00
Refactor desktop shortcut creation logic
Removed redundant desktop shortcut creation for NonSteamLaunchers.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user