Merge branch 'master' of https://gitea.api.52cmg.cn/8402134/old_flsystem
This commit is contained in:
commit
a6f50d5b6b
|
@ -115,7 +115,7 @@ namespace WechatHelper
|
||||||
if (isIconic)
|
if (isIconic)
|
||||||
{
|
{
|
||||||
ShowWindow(handle, 1);
|
ShowWindow(handle, 1);
|
||||||
Thread.Sleep(1000);
|
Thread.Sleep(new Random(Guid.NewGuid().GetHashCode()).Next(8000, 10000));
|
||||||
}
|
}
|
||||||
|
|
||||||
var thisHandel = Process.GetCurrentProcess().MainWindowHandle;
|
var thisHandel = Process.GetCurrentProcess().MainWindowHandle;
|
||||||
|
@ -155,7 +155,7 @@ namespace WechatHelper
|
||||||
//如果微信最小化了,重新让他最小化
|
//如果微信最小化了,重新让他最小化
|
||||||
if (!isIconic) continue;
|
if (!isIconic) continue;
|
||||||
|
|
||||||
Thread.Sleep(1000);
|
Thread.Sleep(new Random(Guid.NewGuid().GetHashCode()).Next(40000, 60000));
|
||||||
ShowWindow(handle, 2);
|
ShowWindow(handle, 2);
|
||||||
} while (true);
|
} while (true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue