ITADN

Help menu buttons don't work

#97ClosedChicken 创建于 2025-11-14
C
Chickencommented
The migration to ESM (https://github.com/httptoolkit/httptoolkit-desktop/commit/6186941524045bbb62e9d464bf17472bcb1bb1a9) was a bit incomplete, leaving Help menu buttons inoperable because they still use cjs require: https://github.com/httptoolkit/httptoolkit-desktop/blob/61dc8a53bd739480a920aee6f89cb9d12ff57c8c/src/menu.ts#L56-L67 Also `setup-server.ts` still uses require for package.json: https://github.com/httptoolkit/httptoolkit-desktop/blob/61dc8a53bd739480a920aee6f89cb9d12ff57c8c/setup-server.ts#L25
关闭于 2025-11-14 6 条评论