Skip to content

Commit 50aacce

Browse files
chore: update breeze-js version and hash; enable context menu hooks
1 parent eb82048 commit 50aacce

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

deps/breeze-js.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
local BREEZE_JS_VERSION = "2026.03.30+4"
2-
local BREEZE_JS_HASH = "6483f9d678b230aed508ea5eb66d4306c03dfe15"
1+
local BREEZE_JS_VERSION = "2026.04.11"
2+
local BREEZE_JS_HASH = "9cb2d47ba6505b3fe99ebca788d1e070a4cd4501"
33
local BREEZE_JS_SOURCEDIR = path.join(os.scriptdir(), "../", "../breeze-js")
44
local USE_LOCAL = os.exists(BREEZE_JS_SOURCEDIR)
55

src/shell/entry.cc

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,8 @@ void main() {
138138
if (filename == "explorer.exe" || filename == "360filebrowser64.exe" || filename == "desktopmgr64.exe") {
139139
init_render_global();
140140
res_string_loader::init();
141-
// context_menu_hooks::install_NtUserTrackPopupMenuEx_hook();
142-
// fix_win11_menu::install();
143-
std::thread([]() {
144-
script_ctx.is_js_ready.wait(false);
145-
spdlog::info("Is js ready: %d", script_ctx.is_js_ready.load());
146-
if (auto res =
147-
script_ctx.eval_string("globalThis.showConfigPage()",
148-
"asan.js");
149-
!res) {
150-
spdlog::error("Failed to show config page: {}", res.error());
151-
}
152-
}).detach();
141+
context_menu_hooks::install_NtUserTrackPopupMenuEx_hook();
142+
fix_win11_menu::install();
153143
}
154144

155145
if (filename == "onecommander.exe") {

src/shell/script/script.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ script_context::script_context() {
4141
});
4242
}
4343

44+
4445
void script_context::watch_folder(const std::filesystem::path &path,
4546
std::function<bool()> on_reload) {
4647
bool has_update = false;

0 commit comments

Comments
 (0)