Browse Source

use a fixed GUID

tags/2.3
clowwindy 10 years ago
parent
commit
5c2a93e901
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shadowsocks-csharp/Program.cs

+ 1
- 1
shadowsocks-csharp/Program.cs View File

@@ -23,7 +23,7 @@ namespace Shadowsocks
[STAThread] [STAThread]
static void Main() static void Main()
{ {
using (Mutex mutex = new Mutex(false, "Global\\" + Assembly.GetExecutingAssembly().GetType().GUID.ToString()))
using (Mutex mutex = new Mutex(false, "Global\\" + "71981632-A427-497F-AB91-241CD227EC1F"))
{ {
if (!mutex.WaitOne(0, false)) if (!mutex.WaitOne(0, false))
{ {


Loading…
Cancel
Save