Skip to content

Commit

Permalink
Merge branch 'eesast:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sigureling authored May 8, 2024
2 parents c1670f9 + 171cf79 commit 8f4723c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion installer/Data/MD5FileData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class TVersion
{
// 代码库版本
[JsonInclude]
public Version LibVersion = new Version(1, 0, 2, 1);
public Version LibVersion = new Version(1, 0, 2, 2);
// 选手代码模板版本
[JsonInclude]
public Version TemplateVersion = new Version(1, 0, 0, 3);
Expand Down
4 changes: 2 additions & 2 deletions installer/ViewModel/DebugViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,15 +370,15 @@ public bool LaunchPyAPI(int team, int player)
{
FileName = "cmd.exe",
Arguments = "/c python "
+ Downloader.Data.Config.DevPyPath ?? Path.Combine(Downloader.Data.Config.InstallPath, "CAPI", "python", "PyAPI", "main.py")
+ (Downloader.Data.Config.DevPyPath ?? Path.Combine(Downloader.Data.Config.InstallPath, "CAPI", "python", "PyAPI", "main.py"))
+ $" -I {IP} -P {Port} -t {team} -p {player} -o"
});
if (py is null)
{
Log.LogError($"未能启动main.py, team:{team}, player: {player}!");
return false;
}
Log.LogError($"main.py启动成功, team:{team}, player: {player}!");
Log.LogInfo($"main.py启动成功, team:{team}, player: {player}!");
children.Add(py);
return true;
}
Expand Down

0 comments on commit 8f4723c

Please sign in to comment.