Skip to content

Commit

Permalink
兼容腾讯桌面
Browse files Browse the repository at this point in the history
  • Loading branch information
GiantappMan committed Jun 3, 2021
1 parent b727416 commit f84ea84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LiveWallpaper/AppContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ private async void CheckMutex()
{
try
{
_mutex = new Mutex(true, "Livewallpaper", out bool ret);

//_mutex = new Mutex(true, "Livewallpaper", out bool ret);
//兼容腾讯桌面,曲线救国...
_mutex = new Mutex(true, "cxWallpaperEngineGlobalMutex", out bool ret);
if (!ret)
{
_notifyIcon.ShowBalloonTip(5, await GetText("common.information"), await GetText("client.started"), ToolTipIcon.Info);
Expand Down

0 comments on commit f84ea84

Please sign in to comment.