Skip to content

Commit 634bead

Browse files
feat: support 360FileBrowser
close #273
1 parent ea9db03 commit 634bead

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/inject/inject.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ std::vector<DWORD> GetExplorerPIDs() {
3838
do {
3939
std::string exeFile(pe32.szExeFile);
4040
if (exeFile == "explorer.exe" ||
41-
exeFile == "OneCommander.exe") {
41+
exeFile == "OneCommander.exe" ||
42+
exeFile == "360FileBrowser64.exe") {
4243
pids.push_back(pe32.th32ProcessID);
4344
}
4445
} while (Process32Next(hSnapshot, &pe32));

src/shell/entry.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void main() {
117117
std::views::transform([](char c) { return std::tolower(c); }) |
118118
std::ranges::to<std::string>();
119119

120-
if (filename == "explorer.exe") {
120+
if (filename == "explorer.exe" || filename == "360filebrowser64.exe") {
121121
init_render_global();
122122
res_string_loader::init();
123123
context_menu_hooks::install_common_hook();

0 commit comments

Comments
 (0)