diff --git a/src/c#/GeneralUpdate.Client/GeneralUpdate.Client.csproj b/src/c#/GeneralUpdate.Client/GeneralUpdate.Client.csproj index 359ffb1441797515a06b69448164b38527ca32aa..6f527c5ad41d48cc1ad8635949e51b22f56802d9 100644 --- a/src/c#/GeneralUpdate.Client/GeneralUpdate.Client.csproj +++ b/src/c#/GeneralUpdate.Client/GeneralUpdate.Client.csproj @@ -1,10 +1,7 @@  - net7.0-android;net7.0-ios;net7.0-maccatalyst - $(TargetFrameworks);net7.0-windows10.0.19041.0 - - + net8.0-android Exe GeneralUpdate.Client true diff --git a/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj b/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj index 30dc71e22e34adf1958fd98f5d13132b10abdfb4..f150deb23484f61a9c75d735f210ae68a0470cc1 100644 --- a/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj +++ b/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj @@ -1,8 +1,7 @@ - net8.0;net8.0-maccatalyst;net8.0-ios;net8.0-android - $(TargetFrameworks);net8.0-windows10.0.22621.0 + net8.0;net8.0-maccatalyst;net8.0-android true diff --git a/src/c#/GeneralUpdate.MiniBowl/MiniBowlBootstrap.cs b/src/c#/GeneralUpdate.MiniBowl/MiniBowlBootstrap.cs index beac631e049d8758824ad1daeb2bad793834807e..5704938eb222f1ed92ed2e8bc56d7762d20c902d 100644 --- a/src/c#/GeneralUpdate.MiniBowl/MiniBowlBootstrap.cs +++ b/src/c#/GeneralUpdate.MiniBowl/MiniBowlBootstrap.cs @@ -1,4 +1,5 @@ -using System; +using GeneralUpdate.MiniBowl.Model; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -8,7 +9,7 @@ namespace GeneralUpdate.MiniBowl { internal class MiniBowlBootstrap { - void WithConfig() { } + void WithConfig(ProcessInfo processInfo) { } void Launch() { } } diff --git a/src/c#/GeneralUpdate.MiniBowl/Model/ProcessInfo.cs b/src/c#/GeneralUpdate.MiniBowl/Model/ProcessInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..cee5c438633147ea31c47abbefd2291fbb1ece64 --- /dev/null +++ b/src/c#/GeneralUpdate.MiniBowl/Model/ProcessInfo.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GeneralUpdate.MiniBowl.Model +{ + public enum ProcessStatus + { + Run, + None, + Down + } + + internal class ProcessInfo + { + public string Name { get; set; } + + public int Id { get; set; } + + public ProcessStatus Status { get; set; } + + public string Path { get; set; } + } +}