fix: register DxDesigner menus from Start and keep the bridge alive

This commit is contained in:
阿白叔 committed 2026-10-10 22:51:29 +08:00
1 parent c8caaf8daf
commit 7a471fec24
22 files changed
+683 -73

No files matched your search

+2 -1
View File
@@ -8,7 +8,8 @@ INTEGRATION_ROOT = Path("integration/dxdesigner795")
def test_menu_is_ascii_portable_and_uses_795_menu_bar() -> None:
text = (INTEGRATION_ROOT / "MenuAdd.vbs").read_text(encoding="ascii")
assert 'CommandBars("Sheet Menu Bar")' in text
assert 'DxToolsInstallMenuBar("Sheet Menu Bar")' in text
assert 'DxToolsInstallMenuBar("Main Menu Bar")' in text
assert "DxToolsResolveRoot" in text
assert "WScript.ScriptFullName" in text
assert "Scripting.CurrentScriptFullName" in text