From 7ba1e24d151e079e06538338d78dc76eb2779ec4 Mon Sep 17 00:00:00 2001 From: Chisato22 Date: Mon, 29 Dec 2025 02:40:18 +0800 Subject: [PATCH 1/2] feat: support TencentDesktopMgr --- src/inject/inject.cc | 3 ++- src/shell/entry.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/inject/inject.cc b/src/inject/inject.cc index fecede8a..bca4313c 100644 --- a/src/inject/inject.cc +++ b/src/inject/inject.cc @@ -39,7 +39,8 @@ std::vector GetExplorerPIDs() { std::string exeFile(pe32.szExeFile); if (exeFile == "explorer.exe" || exeFile == "OneCommander.exe" || - exeFile == "360FileBrowser64.exe") { + exeFile == "360FileBrowser64.exe" || + exeFile == "DesktopMgr64.exe") { pids.push_back(pe32.th32ProcessID); } } while (Process32Next(hSnapshot, &pe32)); diff --git a/src/shell/entry.cc b/src/shell/entry.cc index f80bf18a..8af4bd01 100644 --- a/src/shell/entry.cc +++ b/src/shell/entry.cc @@ -118,7 +118,7 @@ void main() { std::views::transform([](char c) { return std::tolower(c); }) | std::ranges::to(); - if (filename == "explorer.exe" || filename == "360filebrowser64.exe") { + if (filename == "explorer.exe" || filename == "360filebrowser64.exe" || filename == "desktopmgr64.exe") { init_render_global(); res_string_loader::init(); context_menu_hooks::install_NtUserTrackPopupMenuEx_hook(); From 19ee40e27c4b051a61e03409a650f57444002c03 Mon Sep 17 00:00:00 2001 From: Chisato22 Date: Mon, 29 Dec 2025 03:05:14 +0800 Subject: [PATCH 2/2] ci: fix failed Added MSVC development command setup step to workflow. --- .github/workflows/xmake.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/xmake.yml b/.github/workflows/xmake.yml index 2de17388..2f09d7ee 100644 --- a/.github/workflows/xmake.yml +++ b/.github/workflows/xmake.yml @@ -17,6 +17,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + + - uses: ilammy/msvc-dev-cmd@v1 + with: + arch: x64 - uses: xmake-io/github-action-setup-xmake@v1 with: @@ -30,7 +34,7 @@ jobs: - name: Xmake configure run: | - xmake config -v --yes --toolchain=clang-cl --mode=releasedbg + xmake config -v --yes --toolchain=clang-cl --mode=releasedbg --builddir=build - name: build-releasedbg run: |