diff --git a/UpdateService/App.xaml b/UpdateService/App.xaml
new file mode 100644
index 0000000..ae5fdf6
--- /dev/null
+++ b/UpdateService/App.xaml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/UpdateService/App.xaml.cs b/UpdateService/App.xaml.cs
new file mode 100644
index 0000000..eaaeaf2
--- /dev/null
+++ b/UpdateService/App.xaml.cs
@@ -0,0 +1,8 @@
+using System.Windows;
+
+namespace UpdateService
+{
+ public partial class App : System.Windows.Application
+ {
+ }
+}
diff --git a/UpdateService/MainWindow.xaml b/UpdateService/MainWindow.xaml
new file mode 100644
index 0000000..ee973bb
--- /dev/null
+++ b/UpdateService/MainWindow.xaml
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/UpdateService/MainWindow.xaml.cs b/UpdateService/MainWindow.xaml.cs
new file mode 100644
index 0000000..0ecb0ed
--- /dev/null
+++ b/UpdateService/MainWindow.xaml.cs
@@ -0,0 +1,148 @@
+using System.IO;
+using System.Text.Json;
+using System.Windows;
+using System.Windows.Forms;
+
+namespace UpdateService
+{
+ public partial class MainWindow : Window
+ {
+ private static readonly string AppSettingsPath =
+ Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "appsettings.json");
+
+ public MainWindow()
+ {
+ InitializeComponent();
+ LoadSettings();
+ UpdateServiceFilesHint();
+ }
+
+ ///
+ /// 從 appsettings.json 載入預設設定值
+ ///
+ private void LoadSettings()
+ {
+ if (File.Exists(AppSettingsPath))
+ {
+ try
+ {
+ var json = File.ReadAllText(AppSettingsPath);
+ var doc = JsonDocument.Parse(json);
+
+ if (doc.RootElement.TryGetProperty("DestinationFilePath", out var dest))
+ TxtDestinationFilePath.Text = dest.GetString() ?? string.Empty;
+
+ if (doc.RootElement.TryGetProperty("ExecuteMode", out var mode))
+ {
+ var modeStr = mode.GetString() ?? "Complete";
+ foreach (System.Windows.Controls.ComboBoxItem item in CmbExecuteMode.Items)
+ {
+ if ((string)item.Tag == modeStr)
+ {
+ CmbExecuteMode.SelectedItem = item;
+ break;
+ }
+ }
+ }
+ }
+ catch (JsonException)
+ {
+ // 設定檔格式有誤,使用預設值
+ }
+ catch (IOException)
+ {
+ // 無法讀取設定檔,使用預設值
+ }
+ }
+
+ if (CmbExecuteMode.SelectedItem == null)
+ CmbExecuteMode.SelectedIndex = 0;
+ }
+
+ ///
+ /// 更新 ServiceFiles 路徑提示文字
+ ///
+ private void UpdateServiceFilesHint()
+ {
+ var serviceFilesPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ServiceFiles");
+ TxtServiceFilesHint.Text = $"服務來源資料夾:{serviceFilesPath}";
+ }
+
+ ///
+ /// 瀏覽目的地資料夾
+ ///
+ private void BtnBrowse_Click(object sender, RoutedEventArgs e)
+ {
+ using var dialog = new FolderBrowserDialog
+ {
+ Description = "選擇目的地安裝路徑",
+ SelectedPath = TxtDestinationFilePath.Text
+ };
+
+ if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ TxtDestinationFilePath.Text = dialog.SelectedPath;
+ }
+
+ ///
+ /// 執行服務更新
+ ///
+ private async void BtnExecute_Click(object sender, RoutedEventArgs e)
+ {
+ var destinationFilePath = TxtDestinationFilePath.Text.Trim();
+ if (string.IsNullOrEmpty(destinationFilePath))
+ {
+ System.Windows.MessageBox.Show("請輸入目的地安裝路徑。", "提示",
+ MessageBoxButton.OK, MessageBoxImage.Warning);
+ return;
+ }
+
+ if (CmbExecuteMode.SelectedItem is not System.Windows.Controls.ComboBoxItem selectedItem)
+ return;
+
+ var modeStr = (string)selectedItem.Tag;
+ if (!Enum.TryParse(modeStr, out var executeMode))
+ {
+ Log("安裝模式設定有誤");
+ return;
+ }
+
+ BtnExecute.IsEnabled = false;
+ TxtLog.Clear();
+
+ try
+ {
+ var service = new UpdateServiceLogic(destinationFilePath, executeMode, Log);
+ await service.ExecuteAsync();
+ Log("─── 所有操作已完成 ───");
+ }
+ catch (Exception ex)
+ {
+ Log($"錯誤資訊:{ex.Message}");
+ }
+ finally
+ {
+ BtnExecute.IsEnabled = true;
+ }
+ }
+
+ ///
+ /// 清除執行記錄
+ ///
+ private void BtnClearLog_Click(object sender, RoutedEventArgs e)
+ {
+ TxtLog.Clear();
+ }
+
+ ///
+ /// 將訊息附加至執行記錄(執行緒安全)
+ ///
+ private void Log(string message)
+ {
+ Dispatcher.Invoke(() =>
+ {
+ TxtLog.AppendText($"[{DateTime.Now:HH:mm:ss}] {message}{Environment.NewLine}");
+ TxtLog.ScrollToEnd();
+ });
+ }
+ }
+}
diff --git a/UpdateService/UpdateService.cs b/UpdateService/UpdateService.cs
index e14b0f1..e0fd27a 100644
--- a/UpdateService/UpdateService.cs
+++ b/UpdateService/UpdateService.cs
@@ -1,161 +1,144 @@
-using System;
-using System.Collections.Generic;
-using System.Threading;
using System.Diagnostics;
using System.IO;
-using System.Linq;
-using System.Web.Configuration;
using System.Text.RegularExpressions;
namespace UpdateService
{
- public abstract class UpdateService
+ ///
+ /// 服務更新業務邏輯
+ ///
+ public class UpdateServiceLogic
{
- private static readonly AutoResetEvent AutoResetEvent = new AutoResetEvent(false);
+ private readonly string _destinationFilePath;
+ private readonly string _serviceFilePath;
+ private readonly ExecuteModeEnum _executeMode;
+ private readonly Action _log;
- private static readonly string
- DestinationFilePath = WebConfigurationManager.AppSettings["DestinationFilePath"]; //服務安裝位置
-
- private static readonly string ServiceFilePath =
- AppDomain.CurrentDomain.SetupInformation.ApplicationBase + @"\ServiceFiles"; //服務本地位置
+ public UpdateServiceLogic(string destinationFilePath, ExecuteModeEnum executeMode, Action log)
+ {
+ _destinationFilePath = destinationFilePath;
+ _executeMode = executeMode;
+ _log = log;
+ _serviceFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ServiceFiles");
+ }
- private static readonly string ExecuteMode = WebConfigurationManager.AppSettings["ExecuteMode"]; //服務安裝模式
+ public string ServiceFilePath => _serviceFilePath;
- public static void Main()
+ ///
+ /// 執行服務更新流程
+ ///
+ public async Task ExecuteAsync()
{
- try
- {
- //建立ServiceFiles資料夾
- if (Directory.Exists(ServiceFilePath) == false)
- {
- Directory.CreateDirectory(ServiceFilePath);
- }
+ if (!Directory.Exists(_serviceFilePath))
+ Directory.CreateDirectory(_serviceFilePath);
- ExecuteService();
- }
- catch (Exception ex)
- {
- Console.WriteLine("錯誤資訊:" + ex.Message);
- }
-
- Console.ReadKey();
+ await ExecuteServiceAsync();
}
///
/// 執行服務
///
- private static void ExecuteService()
+ private async Task ExecuteServiceAsync()
{
const string pattern = @".+\\";
- var folderNames = GetFolderName(ServiceFilePath);
+ var folderNames = GetFolderName(_serviceFilePath);
- if (Enum.TryParse(ExecuteMode, true, out ExecuteModeEnum modeEnum) == false)
+ if (folderNames.Count == 0)
{
- Console.WriteLine("安裝模式設定有誤");
+ _log("錯誤資訊:ServiceFiles資料夾尚未放入任何服務");
return;
}
- if (folderNames.Count > 0)
+ foreach (var folderName in folderNames)
{
- foreach (var folderName in folderNames)
+ var serviceFilePath = Path.Combine(_serviceFilePath, folderName);
+ var destinationFilePath = Path.Combine(_destinationFilePath, folderName);
+
+ var unInstalls = Directory.GetFiles(serviceFilePath, "UnInstall*.bat", SearchOption.AllDirectories); //尋找UnInstall開頭bat檔
+ var installs = Directory.GetFiles(serviceFilePath, "Install*.bat", SearchOption.AllDirectories); //尋找Install開頭bat檔
+
+ if (unInstalls.Length == 1 && installs.Length == 1)
{
- var serviceFilePath = ServiceFilePath + @"\" + folderName; //本地路徑
- var destinationFilePath = DestinationFilePath + @"\" + folderName; //目的地路徑
-
- var unInstalls =
- Directory.GetFiles(serviceFilePath, "UnInstall*.bat",
- SearchOption.AllDirectories); //尋找UnInstall開頭bat檔
- var installs=
- Directory.GetFiles(serviceFilePath, "Install*.bat", SearchOption.AllDirectories); //尋找Install開頭bat檔
- if (unInstalls.Length == 1 && installs.Length == 1)
+ if (!Directory.Exists(destinationFilePath))
+ {
+ _log($"建立目的地服務資料夾 {folderName}");
+ Directory.CreateDirectory(destinationFilePath);
+ }
+
+ switch (_executeMode)
{
- if (!Directory.Exists(destinationFilePath))
- {
- Console.WriteLine($"建立目的地服務資料夾 {folderName}");
- Directory.CreateDirectory(destinationFilePath);
- }
-
- switch (modeEnum)
- {
- case ExecuteModeEnum.Complete:
- UnInstall(unInstalls, pattern, destinationFilePath, folderName);
- OverWriteDestinationFile(destinationFilePath, serviceFilePath, folderName);
- Install(installs, pattern, destinationFilePath, folderName);
- break;
- case ExecuteModeEnum.UnInstall:
- UnInstall(unInstalls, pattern, destinationFilePath, folderName);
- break;
- case ExecuteModeEnum.Install:
- OverWriteDestinationFile(destinationFilePath, serviceFilePath, folderName);
- Install(installs, pattern, destinationFilePath, folderName);
- break;
- default:
- Console.WriteLine("錯誤資訊:請確認安裝模式是否設定正確");
- break;
- }
+ case ExecuteModeEnum.Complete:
+ await UnInstallAsync(unInstalls, pattern, destinationFilePath, folderName);
+ OverWriteDestinationFile(destinationFilePath, serviceFilePath, folderName);
+ await InstallAsync(installs, pattern, destinationFilePath, folderName);
+ break;
+ case ExecuteModeEnum.UnInstall:
+ await UnInstallAsync(unInstalls, pattern, destinationFilePath, folderName);
+ break;
+ case ExecuteModeEnum.Install:
+ OverWriteDestinationFile(destinationFilePath, serviceFilePath, folderName);
+ await InstallAsync(installs, pattern, destinationFilePath, folderName);
+ break;
+ default:
+ _log("錯誤資訊:請確認安裝模式是否設定正確");
+ break;
}
- else Console.WriteLine($"錯誤資訊:服務 {folderName}資料夾未找到批次檔或是數量不對");
+ }
+ else
+ {
+ _log($"錯誤資訊:服務 {folderName} 資料夾未找到批次檔或是數量不對");
}
}
- else Console.WriteLine("錯誤資訊:ServiceFiles資料夾尚未放入任何服務");
}
///
- /// 執行批次檔
+ /// 非同步執行批次檔
///
/// 目的地路徑
/// 執行檔案名稱
- private static void ExecuteProcess(string workingDirectory, string fileName)
+ private async Task ExecuteProcessAsync(string workingDirectory, string fileName)
{
- using (var process = new Process())
+ var tcs = new TaskCompletionSource();
+
+ using var process = new Process();
+ process.EnableRaisingEvents = true;
+ process.StartInfo = new ProcessStartInfo
{
- process.EnableRaisingEvents = true;
- process.StartInfo = new ProcessStartInfo
- {
- UseShellExecute = true,
- WorkingDirectory = workingDirectory,
- FileName = fileName,
- Verb = "runas"
- };
- process.Start();
- process.Exited += (sender, e) =>
- {
- Console.WriteLine("執行完成");
- AutoResetEvent.Set();
- };
- }
+ UseShellExecute = true,
+ WorkingDirectory = workingDirectory,
+ FileName = fileName,
+ Verb = "runas"
+ };
+ process.Exited += (sender, e) =>
+ {
+ _log("執行完成");
+ tcs.TrySetResult(true);
+ };
+ process.Start();
- AutoResetEvent.WaitOne();
+ await tcs.Task;
}
///
/// 執行安裝流程
///
- ///
- ///
- ///
- ///
- private static void Install(string[] installs, string pattern, string destinationFilePath, string folderName)
+ private async Task InstallAsync(string[] installs, string pattern, string destinationFilePath, string folderName)
{
var match = Regex.Match(installs[0], pattern);
var batFile = installs[0].Replace(match.Value, "");
- Console.WriteLine($"開始執行 安裝{folderName}服務");
- ExecuteProcess(destinationFilePath, batFile);
+ _log($"開始執行 安裝 {folderName} 服務");
+ await ExecuteProcessAsync(destinationFilePath, batFile);
}
///
/// 執行解除安裝流程
///
- ///
- ///
- ///
- ///
- private static void UnInstall(string[] unInstalls, string pattern, string destinationFilePath, string folderName)
+ private async Task UnInstallAsync(string[] unInstalls, string pattern, string destinationFilePath, string folderName)
{
var match = Regex.Match(unInstalls[0], pattern);
var batFile = unInstalls[0].Replace(match.Value, "");
- Console.WriteLine($"開始執行 解除安裝{folderName}服務");
- ExecuteProcess(destinationFilePath, batFile);
+ _log($"開始執行 解除安裝 {folderName} 服務");
+ await ExecuteProcessAsync(destinationFilePath, batFile);
}
///
@@ -164,13 +147,13 @@ private static void UnInstall(string[] unInstalls, string pattern, string destin
/// 目的地路徑
/// 本地路徑
/// 資料夾名稱
- private static void OverWriteDestinationFile(string destinationFilePath, string serviceFilePath, string folderName)
+ private void OverWriteDestinationFile(string destinationFilePath, string serviceFilePath, string folderName)
{
try
{
- Console.WriteLine($"開始覆寫 {folderName}資料夾");
- var listFileFiles = Directory.GetFiles(serviceFilePath);
- foreach (var file in listFileFiles)
+ _log($"開始覆寫 {folderName} 資料夾");
+ var files = Directory.GetFiles(serviceFilePath);
+ foreach (var file in files)
{
var fileName = Path.GetFileName(file);
var destFile = Path.Combine(destinationFilePath, fileName);
@@ -178,19 +161,15 @@ private static void OverWriteDestinationFile(string destinationFilePath, string
File.Copy(file, destFile);
}
- Console.WriteLine("覆寫完成");
+ _log("覆寫完成");
}
catch (UnauthorizedAccessException)
{
- AutoResetEvent.WaitOne(); //暫停執行緒
- Console.WriteLine($"錯誤資訊:覆寫 {folderName}資料夾權限不足");
- throw;
+ _log($"錯誤資訊:覆寫 {folderName} 資料夾權限不足");
}
catch (DirectoryNotFoundException e)
{
- AutoResetEvent.WaitOne(); //暫停執行緒
- Console.WriteLine($"錯誤資訊:{e.Message}檔案遺失");
- throw;
+ _log($"錯誤資訊:{e.Message} 檔案遺失");
}
}
@@ -199,16 +178,13 @@ private static void OverWriteDestinationFile(string destinationFilePath, string
///
private static List GetFolderName(string filePath)
{
- var fileNames = Directory.GetDirectories(filePath);
- var files = new List();
- if (fileNames.Length <= 0)
- {
- return files;
- }
-
- files.AddRange(fileNames.Select(Path.GetFileNameWithoutExtension));
+ var directories = Directory.GetDirectories(filePath);
+ var names = new List();
+ if (directories.Length == 0)
+ return names;
- return files;
+ names.AddRange(directories.Select(Path.GetFileNameWithoutExtension).Where(n => n != null)!);
+ return names;
}
}
}
\ No newline at end of file
diff --git a/UpdateService/UpdateService.csproj b/UpdateService/UpdateService.csproj
index 81a645e..acbcc87 100644
--- a/UpdateService/UpdateService.csproj
+++ b/UpdateService/UpdateService.csproj
@@ -1,92 +1,21 @@
-
-
-
+
+
- Debug
- AnyCPU
- {9F68E85A-196B-4053-9131-956BB2710764}
- Exe
+ WinExe
+ net8.0-windows
+ true
+ true
UpdateService
UpdateService
- v4.8
- 512
- true
-
- false
- publish\
- true
- Disk
- false
- Foreground
- 7
- Days
- false
- false
- true
- 1
- 1.0.0.%2a
- false
- true
- true
+ enable
+ enable
+ true
-
- AnyCPU
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- AnyCPU
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- 5746E8A6F7859E960628FDD985A5E9205472F9E3
-
-
- UpdateService_TemporaryKey.pfx
-
-
- true
-
-
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
- False
- Microsoft .NET Framework 4.8 %28x86 和 x64%29
- true
-
-
- False
- .NET Framework 3.5 SP1
- false
-
+
+ PreserveNewest
+
-
+
\ No newline at end of file
diff --git a/UpdateService/appsettings.json b/UpdateService/appsettings.json
new file mode 100644
index 0000000..70390b6
--- /dev/null
+++ b/UpdateService/appsettings.json
@@ -0,0 +1,4 @@
+{
+ "DestinationFilePath": "C:\\Program Files (x86)\\Service",
+ "ExecuteMode": "Complete"
+}
diff --git a/UpdateService/bin/Debug/net8.0-windows/UpdateService b/UpdateService/bin/Debug/net8.0-windows/UpdateService
new file mode 100755
index 0000000..2b2fb3a
Binary files /dev/null and b/UpdateService/bin/Debug/net8.0-windows/UpdateService differ
diff --git a/UpdateService/bin/Debug/net8.0-windows/UpdateService.deps.json b/UpdateService/bin/Debug/net8.0-windows/UpdateService.deps.json
new file mode 100644
index 0000000..319ed77
--- /dev/null
+++ b/UpdateService/bin/Debug/net8.0-windows/UpdateService.deps.json
@@ -0,0 +1,23 @@
+{
+ "runtimeTarget": {
+ "name": ".NETCoreApp,Version=v8.0",
+ "signature": ""
+ },
+ "compilationOptions": {},
+ "targets": {
+ ".NETCoreApp,Version=v8.0": {
+ "UpdateService/1.0.0": {
+ "runtime": {
+ "UpdateService.dll": {}
+ }
+ }
+ }
+ },
+ "libraries": {
+ "UpdateService/1.0.0": {
+ "type": "project",
+ "serviceable": false,
+ "sha512": ""
+ }
+ }
+}
\ No newline at end of file
diff --git a/UpdateService/bin/Debug/net8.0-windows/UpdateService.dll b/UpdateService/bin/Debug/net8.0-windows/UpdateService.dll
new file mode 100644
index 0000000..68ca380
Binary files /dev/null and b/UpdateService/bin/Debug/net8.0-windows/UpdateService.dll differ
diff --git a/UpdateService/bin/Debug/net8.0-windows/UpdateService.dll.config b/UpdateService/bin/Debug/net8.0-windows/UpdateService.dll.config
new file mode 100644
index 0000000..e224a6a
--- /dev/null
+++ b/UpdateService/bin/Debug/net8.0-windows/UpdateService.dll.config
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/UpdateService/bin/Debug/net8.0-windows/UpdateService.pdb b/UpdateService/bin/Debug/net8.0-windows/UpdateService.pdb
new file mode 100644
index 0000000..7591117
Binary files /dev/null and b/UpdateService/bin/Debug/net8.0-windows/UpdateService.pdb differ
diff --git a/UpdateService/bin/Debug/net8.0-windows/UpdateService.runtimeconfig.json b/UpdateService/bin/Debug/net8.0-windows/UpdateService.runtimeconfig.json
new file mode 100644
index 0000000..c7a4117
--- /dev/null
+++ b/UpdateService/bin/Debug/net8.0-windows/UpdateService.runtimeconfig.json
@@ -0,0 +1,18 @@
+{
+ "runtimeOptions": {
+ "tfm": "net8.0",
+ "frameworks": [
+ {
+ "name": "Microsoft.NETCore.App",
+ "version": "8.0.0"
+ },
+ {
+ "name": "Microsoft.WindowsDesktop.App",
+ "version": "8.0.0"
+ }
+ ],
+ "configProperties": {
+ "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false
+ }
+ }
+}
\ No newline at end of file
diff --git a/UpdateService/bin/Debug/net8.0-windows/appsettings.json b/UpdateService/bin/Debug/net8.0-windows/appsettings.json
new file mode 100644
index 0000000..70390b6
--- /dev/null
+++ b/UpdateService/bin/Debug/net8.0-windows/appsettings.json
@@ -0,0 +1,4 @@
+{
+ "DestinationFilePath": "C:\\Program Files (x86)\\Service",
+ "ExecuteMode": "Complete"
+}
diff --git a/UpdateService/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/UpdateService/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs
new file mode 100644
index 0000000..2217181
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs
@@ -0,0 +1,4 @@
+//
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
diff --git a/UpdateService/obj/Debug/net8.0-windows/App.g.cs b/UpdateService/obj/Debug/net8.0-windows/App.g.cs
new file mode 100644
index 0000000..66db237
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/App.g.cs
@@ -0,0 +1,70 @@
+#pragma checksum "../../../App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C8433635E38D9E16C58692D688483058C980FACD"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Forms.Integration;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace UpdateService {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.5.0")]
+ public void InitializeComponent() {
+
+ #line 4 "../../../App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.5.0")]
+ public static void Main() {
+ UpdateService.App app = new UpdateService.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/UpdateService/obj/Debug/net8.0-windows/MainWindow.baml b/UpdateService/obj/Debug/net8.0-windows/MainWindow.baml
new file mode 100644
index 0000000..e3b1824
Binary files /dev/null and b/UpdateService/obj/Debug/net8.0-windows/MainWindow.baml differ
diff --git a/UpdateService/obj/Debug/net8.0-windows/MainWindow.g.cs b/UpdateService/obj/Debug/net8.0-windows/MainWindow.g.cs
new file mode 100644
index 0000000..1ffccd7
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/MainWindow.g.cs
@@ -0,0 +1,164 @@
+#pragma checksum "../../../MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C983908AC8999C3BDF1F78C863819082253A957A"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Forms.Integration;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace UpdateService {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 37 "../../../MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox TxtDestinationFilePath;
+
+ #line default
+ #line hidden
+
+
+ #line 49 "../../../MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ComboBox CmbExecuteMode;
+
+ #line default
+ #line hidden
+
+
+ #line 60 "../../../MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button BtnExecute;
+
+ #line default
+ #line hidden
+
+
+ #line 64 "../../../MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button BtnClearLog;
+
+ #line default
+ #line hidden
+
+
+ #line 72 "../../../MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock TxtServiceFilesHint;
+
+ #line default
+ #line hidden
+
+
+ #line 79 "../../../MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox TxtLog;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.5.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/UpdateService;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "../../../MainWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.5.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.TxtDestinationFilePath = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 2:
+
+ #line 42 "../../../MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBrowse_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 3:
+ this.CmbExecuteMode = ((System.Windows.Controls.ComboBox)(target));
+ return;
+ case 4:
+ this.BtnExecute = ((System.Windows.Controls.Button)(target));
+
+ #line 63 "../../../MainWindow.xaml"
+ this.BtnExecute.Click += new System.Windows.RoutedEventHandler(this.BtnExecute_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 5:
+ this.BtnClearLog = ((System.Windows.Controls.Button)(target));
+
+ #line 67 "../../../MainWindow.xaml"
+ this.BtnClearLog.Click += new System.Windows.RoutedEventHandler(this.BtnClearLog_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 6:
+ this.TxtServiceFilesHint = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 7:
+ this.TxtLog = ((System.Windows.Controls.TextBox)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.AssemblyInfo.cs b/UpdateService/obj/Debug/net8.0-windows/UpdateService.AssemblyInfo.cs
new file mode 100644
index 0000000..9cfe990
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/UpdateService.AssemblyInfo.cs
@@ -0,0 +1,24 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("UpdateService")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+db4f94849f17a2bfbea3e9488afbc4df33ffe002")]
+[assembly: System.Reflection.AssemblyProductAttribute("UpdateService")]
+[assembly: System.Reflection.AssemblyTitleAttribute("UpdateService")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
+[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
+
+// Generated by the MSBuild WriteCodeFragment class.
+
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.AssemblyInfoInputs.cache b/UpdateService/obj/Debug/net8.0-windows/UpdateService.AssemblyInfoInputs.cache
new file mode 100644
index 0000000..95a7bc0
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/UpdateService.AssemblyInfoInputs.cache
@@ -0,0 +1 @@
+c8a80b5c3550a29e41c1d37ef6ba4fe6e6f4637af3e3a0922f4e29104789acb5
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.GeneratedMSBuildEditorConfig.editorconfig b/UpdateService/obj/Debug/net8.0-windows/UpdateService.GeneratedMSBuildEditorConfig.editorconfig
new file mode 100644
index 0000000..6f19796
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/UpdateService.GeneratedMSBuildEditorConfig.editorconfig
@@ -0,0 +1,24 @@
+is_global = true
+build_property.ApplicationManifest =
+build_property.StartupObject =
+build_property.ApplicationDefaultFont =
+build_property.ApplicationHighDpiMode =
+build_property.ApplicationUseCompatibleTextRendering =
+build_property.ApplicationVisualStyles =
+build_property.TargetFramework = net8.0-windows
+build_property.TargetFrameworkIdentifier = .NETCoreApp
+build_property.TargetFrameworkVersion = v8.0
+build_property.TargetPlatformMinVersion = 7.0
+build_property.UsingMicrosoftNETSdkWeb =
+build_property.ProjectTypeGuids =
+build_property.InvariantGlobalization =
+build_property.PlatformNeutralAssembly =
+build_property.EnforceExtendedAnalyzerRules =
+build_property._SupportedPlatformList = Linux,macOS,Windows
+build_property.RootNamespace = UpdateService
+build_property.ProjectDir = /home/runner/work/UpdateService/UpdateService/UpdateService/
+build_property.EnableComHosting =
+build_property.EnableGeneratedComInterfaceComImportInterop =
+build_property.CsWinRTUseWindowsUIXamlProjections = false
+build_property.EffectiveAnalysisLevelStyle = 8.0
+build_property.EnableCodeStyleSeverity =
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.GlobalUsings.g.cs b/UpdateService/obj/Debug/net8.0-windows/UpdateService.GlobalUsings.g.cs
new file mode 100644
index 0000000..3c55c3d
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/UpdateService.GlobalUsings.g.cs
@@ -0,0 +1,8 @@
+//
+global using System;
+global using System.Collections.Generic;
+global using System.Drawing;
+global using System.Linq;
+global using System.Threading;
+global using System.Threading.Tasks;
+global using System.Windows.Forms;
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.assets.cache b/UpdateService/obj/Debug/net8.0-windows/UpdateService.assets.cache
new file mode 100644
index 0000000..4aee57b
Binary files /dev/null and b/UpdateService/obj/Debug/net8.0-windows/UpdateService.assets.cache differ
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.csproj.CoreCompileInputs.cache b/UpdateService/obj/Debug/net8.0-windows/UpdateService.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..1da3653
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/UpdateService.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+72806bafcd2f452cf2a455d54bf368e9fbb60e1e2d970d8cb533df431a12596c
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.csproj.FileListAbsolute.txt b/UpdateService/obj/Debug/net8.0-windows/UpdateService.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..0c69451
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/UpdateService.csproj.FileListAbsolute.txt
@@ -0,0 +1,22 @@
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/MainWindow.baml
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/MainWindow.g.cs
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/App.g.cs
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService_MarkupCompile.cache
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService.g.resources
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService.GeneratedMSBuildEditorConfig.editorconfig
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService.AssemblyInfoInputs.cache
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService.AssemblyInfo.cs
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService.csproj.CoreCompileInputs.cache
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService.sourcelink.json
+/home/runner/work/UpdateService/UpdateService/UpdateService/bin/Debug/net8.0-windows/appsettings.json
+/home/runner/work/UpdateService/UpdateService/UpdateService/bin/Debug/net8.0-windows/UpdateService
+/home/runner/work/UpdateService/UpdateService/UpdateService/bin/Debug/net8.0-windows/UpdateService.dll.config
+/home/runner/work/UpdateService/UpdateService/UpdateService/bin/Debug/net8.0-windows/UpdateService.deps.json
+/home/runner/work/UpdateService/UpdateService/UpdateService/bin/Debug/net8.0-windows/UpdateService.runtimeconfig.json
+/home/runner/work/UpdateService/UpdateService/UpdateService/bin/Debug/net8.0-windows/UpdateService.dll
+/home/runner/work/UpdateService/UpdateService/UpdateService/bin/Debug/net8.0-windows/UpdateService.pdb
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService.dll
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/refint/UpdateService.dll
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService.pdb
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/UpdateService.genruntimeconfig.cache
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/ref/UpdateService.dll
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.dll b/UpdateService/obj/Debug/net8.0-windows/UpdateService.dll
new file mode 100644
index 0000000..68ca380
Binary files /dev/null and b/UpdateService/obj/Debug/net8.0-windows/UpdateService.dll differ
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.g.resources b/UpdateService/obj/Debug/net8.0-windows/UpdateService.g.resources
new file mode 100644
index 0000000..f0f5db2
Binary files /dev/null and b/UpdateService/obj/Debug/net8.0-windows/UpdateService.g.resources differ
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.genruntimeconfig.cache b/UpdateService/obj/Debug/net8.0-windows/UpdateService.genruntimeconfig.cache
new file mode 100644
index 0000000..cad93e6
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/UpdateService.genruntimeconfig.cache
@@ -0,0 +1 @@
+9fc7b56366c0593dd59e2388b364b4507bca30384cfc85b68469f0d1900d83a1
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.pdb b/UpdateService/obj/Debug/net8.0-windows/UpdateService.pdb
new file mode 100644
index 0000000..7591117
Binary files /dev/null and b/UpdateService/obj/Debug/net8.0-windows/UpdateService.pdb differ
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService.sourcelink.json b/UpdateService/obj/Debug/net8.0-windows/UpdateService.sourcelink.json
new file mode 100644
index 0000000..3208130
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/UpdateService.sourcelink.json
@@ -0,0 +1 @@
+{"documents":{"/home/runner/work/UpdateService/UpdateService/*":"https://raw.githubusercontent.com/gb63728f4/UpdateService/db4f94849f17a2bfbea3e9488afbc4df33ffe002/*"}}
\ No newline at end of file
diff --git a/UpdateService/obj/Debug/net8.0-windows/UpdateService_MarkupCompile.cache b/UpdateService/obj/Debug/net8.0-windows/UpdateService_MarkupCompile.cache
new file mode 100644
index 0000000..9a0c0f4
--- /dev/null
+++ b/UpdateService/obj/Debug/net8.0-windows/UpdateService_MarkupCompile.cache
@@ -0,0 +1,20 @@
+UpdateService
+
+
+winexe
+C#
+.cs
+/home/runner/work/UpdateService/UpdateService/UpdateService/obj/Debug/net8.0-windows/
+UpdateService
+none
+false
+TRACE;DEBUG;NET;NET8_0;NETCOREAPP;WINDOWS;WINDOWS7_0;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NET8_0_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER;WINDOWS7_0_OR_GREATER
+/home/runner/work/UpdateService/UpdateService/UpdateService/App.xaml
+11407045341
+
+5798369306
+2072066036000
+MainWindow.xaml;
+
+False
+
diff --git a/UpdateService/obj/Debug/net8.0-windows/apphost b/UpdateService/obj/Debug/net8.0-windows/apphost
new file mode 100755
index 0000000..2b2fb3a
Binary files /dev/null and b/UpdateService/obj/Debug/net8.0-windows/apphost differ
diff --git a/UpdateService/obj/Debug/net8.0-windows/ref/UpdateService.dll b/UpdateService/obj/Debug/net8.0-windows/ref/UpdateService.dll
new file mode 100644
index 0000000..63347d5
Binary files /dev/null and b/UpdateService/obj/Debug/net8.0-windows/ref/UpdateService.dll differ
diff --git a/UpdateService/obj/Debug/net8.0-windows/refint/UpdateService.dll b/UpdateService/obj/Debug/net8.0-windows/refint/UpdateService.dll
new file mode 100644
index 0000000..63347d5
Binary files /dev/null and b/UpdateService/obj/Debug/net8.0-windows/refint/UpdateService.dll differ
diff --git a/UpdateService/obj/UpdateService.csproj.nuget.dgspec.json b/UpdateService/obj/UpdateService.csproj.nuget.dgspec.json
new file mode 100644
index 0000000..0172858
--- /dev/null
+++ b/UpdateService/obj/UpdateService.csproj.nuget.dgspec.json
@@ -0,0 +1,76 @@
+{
+ "format": 1,
+ "restore": {
+ "/home/runner/work/UpdateService/UpdateService/UpdateService/UpdateService.csproj": {}
+ },
+ "projects": {
+ "/home/runner/work/UpdateService/UpdateService/UpdateService/UpdateService.csproj": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "/home/runner/work/UpdateService/UpdateService/UpdateService/UpdateService.csproj",
+ "projectName": "UpdateService",
+ "projectPath": "/home/runner/work/UpdateService/UpdateService/UpdateService/UpdateService.csproj",
+ "packagesPath": "/home/runner/.nuget/packages/",
+ "outputPath": "/home/runner/work/UpdateService/UpdateService/UpdateService/obj/",
+ "projectStyle": "PackageReference",
+ "configFilePaths": [
+ "/home/runner/.nuget/NuGet/NuGet.Config"
+ ],
+ "originalTargetFrameworks": [
+ "net8.0-windows"
+ ],
+ "sources": {
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "net8.0-windows7.0": {
+ "targetAlias": "net8.0-windows",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ },
+ "restoreAuditProperties": {
+ "enableAudit": "true",
+ "auditLevel": "low",
+ "auditMode": "direct"
+ },
+ "SdkAnalysisLevel": "10.0.200"
+ },
+ "frameworks": {
+ "net8.0-windows7.0": {
+ "targetAlias": "net8.0-windows",
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48",
+ "net481"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "downloadDependencies": [
+ {
+ "name": "Microsoft.WindowsDesktop.App.Ref",
+ "version": "[8.0.25, 8.0.25]"
+ }
+ ],
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ },
+ "Microsoft.WindowsDesktop.App": {
+ "privateAssets": "none"
+ }
+ },
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/PortableRuntimeIdentifierGraph.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/UpdateService/obj/UpdateService.csproj.nuget.g.props b/UpdateService/obj/UpdateService.csproj.nuget.g.props
new file mode 100644
index 0000000..2098f6f
--- /dev/null
+++ b/UpdateService/obj/UpdateService.csproj.nuget.g.props
@@ -0,0 +1,15 @@
+
+
+
+ True
+ NuGet
+ $(MSBuildThisFileDirectory)project.assets.json
+ /home/runner/.nuget/packages/
+ /home/runner/.nuget/packages/
+ PackageReference
+ 7.0.0
+
+
+
+
+
\ No newline at end of file
diff --git a/UpdateService/obj/UpdateService.csproj.nuget.g.targets b/UpdateService/obj/UpdateService.csproj.nuget.g.targets
new file mode 100644
index 0000000..3dc06ef
--- /dev/null
+++ b/UpdateService/obj/UpdateService.csproj.nuget.g.targets
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/UpdateService/obj/project.assets.json b/UpdateService/obj/project.assets.json
new file mode 100644
index 0000000..8e1bb68
--- /dev/null
+++ b/UpdateService/obj/project.assets.json
@@ -0,0 +1,81 @@
+{
+ "version": 3,
+ "targets": {
+ "net8.0-windows7.0": {}
+ },
+ "libraries": {},
+ "projectFileDependencyGroups": {
+ "net8.0-windows7.0": []
+ },
+ "packageFolders": {
+ "/home/runner/.nuget/packages/": {}
+ },
+ "project": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "/home/runner/work/UpdateService/UpdateService/UpdateService/UpdateService.csproj",
+ "projectName": "UpdateService",
+ "projectPath": "/home/runner/work/UpdateService/UpdateService/UpdateService/UpdateService.csproj",
+ "packagesPath": "/home/runner/.nuget/packages/",
+ "outputPath": "/home/runner/work/UpdateService/UpdateService/UpdateService/obj/",
+ "projectStyle": "PackageReference",
+ "configFilePaths": [
+ "/home/runner/.nuget/NuGet/NuGet.Config"
+ ],
+ "originalTargetFrameworks": [
+ "net8.0-windows"
+ ],
+ "sources": {
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "net8.0-windows7.0": {
+ "targetAlias": "net8.0-windows",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ },
+ "restoreAuditProperties": {
+ "enableAudit": "true",
+ "auditLevel": "low",
+ "auditMode": "direct"
+ },
+ "SdkAnalysisLevel": "10.0.200"
+ },
+ "frameworks": {
+ "net8.0-windows7.0": {
+ "targetAlias": "net8.0-windows",
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48",
+ "net481"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "downloadDependencies": [
+ {
+ "name": "Microsoft.WindowsDesktop.App.Ref",
+ "version": "[8.0.25, 8.0.25]"
+ }
+ ],
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ },
+ "Microsoft.WindowsDesktop.App": {
+ "privateAssets": "none"
+ }
+ },
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/PortableRuntimeIdentifierGraph.json"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/UpdateService/obj/project.nuget.cache b/UpdateService/obj/project.nuget.cache
new file mode 100644
index 0000000..b0910da
--- /dev/null
+++ b/UpdateService/obj/project.nuget.cache
@@ -0,0 +1,10 @@
+{
+ "version": 2,
+ "dgSpecHash": "o33gdHW90Lk=",
+ "success": true,
+ "projectFilePath": "/home/runner/work/UpdateService/UpdateService/UpdateService/UpdateService.csproj",
+ "expectedPackageFiles": [
+ "/home/runner/.nuget/packages/microsoft.windowsdesktop.app.ref/8.0.25/microsoft.windowsdesktop.app.ref.8.0.25.nupkg.sha512"
+ ],
+ "logs": []
+}
\ No newline at end of file