-
-
Notifications
You must be signed in to change notification settings - Fork 480
[BUG] Don't add shortcut for DLCs. Fix adding sideload app shortcuts #2778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -125,7 +126,7 @@ export async function uninstall({ | |||
|
|||
notify({ title, body: i18next.t('notify.uninstalled') }) | |||
|
|||
removeShortcuts(appName) | |||
removeShortcutsUtil(gameInfo) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we already have the gameInfo here, no need to call the function that looks for the gameInfo
@@ -59,7 +60,7 @@ export function addNewApp({ | |||
current[gameIndex] = { ...current[gameIndex], ...game } | |||
} else { | |||
current.push(game) | |||
addShortcuts(app_name) | |||
addShortcuts(game) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we already have the gameInfo here, no need to call the function that looks for the gameInfo
@@ -27,7 +27,8 @@ export function addNewApp({ | |||
title, | |||
install: { | |||
executable, | |||
platform | |||
platform, | |||
is_dlc: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mark it as not DLC just to be explicit since now we check if is_dlc
is true to ignore the shortcuts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for fixing that 👍🏽
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for fixing that 👍🏽
This PR fixes two issues:
This fixes #2756
Use the following Checklist if you have changed something on the Backend or Frontend: