Skip to content

Commit

Permalink
Merge pull request #54 from KrystianLesniak/develop
Browse files Browse the repository at this point in the history
Release: 1.9.1
  • Loading branch information
KrystianLesniak authored Apr 19, 2024
2 parents 796e442 + 10b81d2 commit 38d247b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
run: dotnet publish src/GamesLauncher -c Release -r win-x64 --no-self-contained -o publish/
- uses: actions/upload-artifact@v4
with:
name: GamesLauncher.zip
name: GamesLauncher
path: publish/
if-no-files-found: error
2 changes: 0 additions & 2 deletions publishScript.ps1

This file was deleted.

2 changes: 1 addition & 1 deletion src/GamesLauncher.Common/Settings/LastPlayedGames.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public void AddLaunchedGameToLastPlayed(string internalGameId)
{
OrderedGames.Add(internalGameId);

if (OrderedGames.Count > 10)
if (OrderedGames.Count > 100)
OrderedGames.RemoveAt(0);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ internal class EpicGame
if (displayName == null || catalogNamespace == null || catalogItemId == null || appName == null)
return null;

var isIncompleteInstall = jObject.Value<bool?>("bIsIncompleteInstall");
if (jObject.Value<string?>("MainGameCatalogItemId") != catalogItemId) // If this is an addon/DLC mainGameCatalogItemId and catalogItemId will be different
return null;

if (isIncompleteInstall == true)
if (jObject.Value<bool?>("bIsIncompleteInstall") == true) // If game installation is not completed this flag is true
return null;

return new EpicGame
Expand Down
2 changes: 1 addition & 1 deletion src/GamesLauncher/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Name": "GamesLauncher",
"Description": "Search and launch games from multiple platforms like Steam, Epic Games, Xbox etc.",
"Author": "KrystianLesniak",
"Version": "1.9.0",
"Version": "1.9.1",
"Language": "csharp",
"Website": "https://github.com/KrystianLesniak/Flow.Launcher.Plugin.GamesLauncher",
"IcoPath": "icon.png",
Expand Down

0 comments on commit 38d247b

Please sign in to comment.