From eb075a32db14a5e16a4ee9f582b330c7617ebef9 Mon Sep 17 00:00:00 2001 From: Frog Date: Fri, 12 Jun 2026 00:43:03 -0700 Subject: [PATCH] Correct Generated JSON for UPlay Games Fixes #27 - Correctts the invalid comma in the generated JSON for games that utilize the UPlay unlocker. --- CreamInstaller/Resources/UplayR1.cs | 4 ++-- CreamInstaller/Resources/UplayR2.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CreamInstaller/Resources/UplayR1.cs b/CreamInstaller/Resources/UplayR1.cs index f2a654d..55658af 100644 --- a/CreamInstaller/Resources/UplayR1.cs +++ b/CreamInstaller/Resources/UplayR1.cs @@ -68,10 +68,10 @@ internal static class UplayR1 false); } - writer.WriteLine(" ],"); + writer.WriteLine(" ]"); } else - writer.WriteLine(" \"blacklist\": [],"); + writer.WriteLine(" \"blacklist\": []"); writer.WriteLine("}"); } diff --git a/CreamInstaller/Resources/UplayR2.cs b/CreamInstaller/Resources/UplayR2.cs index 6cc556b..07e0415 100644 --- a/CreamInstaller/Resources/UplayR2.cs +++ b/CreamInstaller/Resources/UplayR2.cs @@ -72,10 +72,10 @@ internal static class UplayR2 false); } - writer.WriteLine(" ],"); + writer.WriteLine(" ]"); } else - writer.WriteLine(" \"blacklist\": [],"); + writer.WriteLine(" \"blacklist\": []"); writer.WriteLine("}"); }