From 7169e5e608dbd9d7036c44be0ab3d432b9706d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20=C5=9Eakar?= <98587504+12usernull@users.noreply.github.com> Date: Sun, 23 Nov 2025 19:58:24 +0300 Subject: [PATCH 1/2] Add Microsoft Visual Studio and Playnite to presets --- src/data/recommendationPresets.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/data/recommendationPresets.ts b/src/data/recommendationPresets.ts index 5263042..cb37893 100644 --- a/src/data/recommendationPresets.ts +++ b/src/data/recommendationPresets.ts @@ -23,7 +23,9 @@ export const PACKAGE_PRESETS: Record> "PuTTY.PuTTY", "WinMerge.WinMerge", "EclipseFoundation.Eclipse", - "Anysphere.Cursor" + "Anysphere.Cursor", + "Microsoft.VisualStudio.2022.Community + ], "design": [ "GIMP.GIMP", @@ -76,7 +78,8 @@ export const PACKAGE_PRESETS: Record> "Valve.Steam", "Discord.Discord", "EpicGames.EpicGamesLauncher", - "GOG.Galaxy" + "GOG.Galaxy", + "Playnite.Playnite" ], "productivity": [ "Notion.Notion", @@ -154,6 +157,7 @@ export const PACKAGE_PRESETS: Record> "steam", "discord", "epic-games" + ], "productivity": [ "notion", From 13193c7f695966f8fae1b9a79887dcfe53cf98eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C4=B0pek?= Date: Mon, 24 Nov 2025 23:11:23 +0300 Subject: [PATCH 2/2] style: remove extraneous newlines in recommendation preset data and helper functions. --- src/data/recommendationPresets.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/data/recommendationPresets.ts b/src/data/recommendationPresets.ts index cb37893..3f87e25 100644 --- a/src/data/recommendationPresets.ts +++ b/src/data/recommendationPresets.ts @@ -24,8 +24,7 @@ export const PACKAGE_PRESETS: Record> "WinMerge.WinMerge", "EclipseFoundation.Eclipse", "Anysphere.Cursor", - "Microsoft.VisualStudio.2022.Community - + "Microsoft.VisualStudio.2022.Community" ], "design": [ "GIMP.GIMP", @@ -157,7 +156,6 @@ export const PACKAGE_PRESETS: Record> "steam", "discord", "epic-games" - ], "productivity": [ "notion", @@ -761,7 +759,7 @@ export function getPresetIcon(name: string): string | undefined { if (PACKAGE_ICONS[name]) { return PACKAGE_ICONS[name]; } - + // Try case insensitive const lowerName = name.toLowerCase(); const key = Object.keys(PACKAGE_ICONS).find(k => k.toLowerCase() === lowerName); @@ -777,7 +775,7 @@ export function getPresetDetails(name: string): { description: string } { if (PRESET_DESCRIPTIONS[name]) { return { description: PRESET_DESCRIPTIONS[name] }; } - + // Try case insensitive const lowerName = name.toLowerCase(); const key = Object.keys(PRESET_DESCRIPTIONS).find(k => k.toLowerCase() === lowerName);