Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Services/ClientGeneratorService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ namespace GeneralUpdate.Tools.Services;
public class ClientGeneratorService
{
private const string ClientTemplate = """
#r "nuget: GeneralUpdate.ClientCore, 10.*"
#r "nuget: GeneralUpdate.Core, 10.*"
#r "nuget: GeneralUpdate.ClientCore"
#r "nuget: GeneralUpdate.Core"

using GeneralUpdate.ClientCore;
using GeneralUpdate.Common.Shared.Object;
Expand Down Expand Up @@ -72,8 +72,8 @@ public class ClientGeneratorService
""";

private const string UpgradeTemplate = """
#r "nuget: GeneralUpdate.Core, 10.*"
#r "nuget: GeneralUpdate.ClientCore, 10.*"
#r "nuget: GeneralUpdate.Core"
#r "nuget: GeneralUpdate.ClientCore"

using GeneralUpdate.Core;
using GeneralUpdate.Common.Shared;
Expand Down
4 changes: 3 additions & 1 deletion src/Services/SimulationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class SimulationService
private readonly ClientGeneratorService _generator = new();
private readonly LocalUpdateServer _server = new();
private readonly StringBuilder _fullLog = new();
private int _timeoutSeconds = 60;
private int _timeoutSeconds = 120;

public IReadOnlyList<string> LogLines => _fullLog.ToString().Split('\n').ToList();

Expand Down Expand Up @@ -144,6 +144,8 @@ private void Validate(SimulateConfigModel config)
WorkingDirectory = workDir,
RedirectStandardOutput = true,
RedirectStandardError = true,
StandardOutputEncoding = System.Text.Encoding.UTF8,
StandardErrorEncoding = System.Text.Encoding.UTF8,
UseShellExecute = false,
CreateNoWindow = true
};
Expand Down
Loading