File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -217,6 +217,10 @@ async function addNonSteamGame(props: {
217
217
bkgDataUrl ?: string
218
218
bigPicDataUrl ?: string
219
219
} ) : Promise < boolean > {
220
+ if ( props . gameInfo . install . is_dlc || props . gameInfo . runner === 'steam' ) {
221
+ return false
222
+ }
223
+
220
224
const steamUserdataDir =
221
225
props . steamUserdataDir || ( await getSteamUserdataDir ( ) )
222
226
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import * as GogLibraryManager from '../../storeManagers/gog/library'
29
29
* @public
30
30
*/
31
31
async function addShortcuts ( gameInfo : GameInfo , fromMenu ?: boolean ) {
32
- if ( gameInfo . install . is_dlc ) {
32
+ if ( gameInfo . install . is_dlc || gameInfo . runner === 'steam' ) {
33
33
return
34
34
}
35
35
logInfo ( `Adding shortcuts for ${ gameInfo . title } ` , LogPrefix . Backend )
You can’t perform that action at this time.
0 commit comments