Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Borna authored and Borna committed May 21, 2024
1 parent 86a7264 commit 87aa24a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Server_base/Clientwatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ public partial class Server
{
private static string? ParseNameVersion(string name)
{
//TODO: optimize
//Format of name: 0.0.0 patch win-x64 or 0.0.0 win-x64
string[] strings = name.Split(' ');
return strings[0];
}
private static string? ParseNameRuntime(string name)
{
//TODO: optimize
string[] strings = name.Split(' ');
return strings[^1];
}
Expand Down

0 comments on commit 87aa24a

Please sign in to comment.