From 47906baacb9b539796eedc8b6300832be1b462be Mon Sep 17 00:00:00 2001 From: "SONGE9B3\\song_pd_win11" Date: Sat, 17 Dec 2022 15:38:05 +0800 Subject: [PATCH] perf: update thread product name by uuid --- STranslate/App.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STranslate/App.xaml.cs b/STranslate/App.xaml.cs index 0be192d..a132f71 100644 --- a/STranslate/App.xaml.cs +++ b/STranslate/App.xaml.cs @@ -19,7 +19,7 @@ namespace STranslate // 每次启动应用程序,都会验证名称为OnlyRun的互斥是否存在 protected override void OnStartup(StartupEventArgs e) { - mutex = new System.Threading.Mutex(true, "STranslate"); + mutex = new System.Threading.Mutex(true, "CE252DD8-179F-4544-9989-453F5DEA378D"); if (mutex.WaitOne(0, false)) { base.OnStartup(e);