fix(desktop): electron/main.ts cmd/args 未定义 (v1.43.0 桌面构建挂)#157
Open
Wool-xing wants to merge 1 commit into
Open
fix(desktop): electron/main.ts cmd/args 未定义 (v1.43.0 桌面构建挂)#157Wool-xing wants to merge 1 commit into
Wool-xing wants to merge 1 commit into
Conversation
L46 `spawn(cmd, args, ...)` 引用未定义变量 (重构遗留), TS 编译 error TS2304 → desktop-release v1.43.0 build-macos/build-windows 两侧 Build Electron 步骤都挂。 修: 改用 spawn(getBackendPath(), [], ...) 调用打包后的 backend 二进制 (.exe / 无后缀), 与 isDev 分支对称, 直接走 packaged backend, 无需 args。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
desktop/electron/main.ts:46
spawn(cmd, args, ...)引用未定义变量 (重构遗留)。TS 编译 TS2304 → desktop-release v1.43.0 build-macos + build-windows 两侧 Build Electron 步骤都挂。改用spawn(getBackendPath(), [], ...)直接调用打包后的 backend 二进制 (.exe / 无后缀),与 isDev 分支对称。修复后将打 v1.43.1 tag 重新触发 desktop-release。