Skip to content

Commit

Permalink
[GOG] trim titles for games (#3549)
Browse files Browse the repository at this point in the history
trim titles for GOG games
  • Loading branch information
imLinguin authored Feb 11, 2024
1 parent 2114eb1 commit 8d491a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/storeManagers/gog/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ export async function gogToUnifiedInfo(
is_installed: false,
namespace: galaxyProductInfo?.slug,
save_folder: '',
title: galaxyProductInfo?.title ?? info.game.title['en-US'] ?? '',
title: (galaxyProductInfo?.title ?? info.game.title['en-US'] ?? '').trim(),
canRunOffline: true,
is_mac_native: Boolean(
info.supported_operating_systems.find((os) => os.slug === 'osx')
Expand Down

0 comments on commit 8d491a3

Please sign in to comment.