fix(desktop): allow fs-ext in generated projects

This commit is contained in:
winewill committed 2026-09-07 12:11:34 +08:00
1 parent 8b250f5df5
commit 541dc51e9e
1 file changed
+1 -1
+1 -1
View File
@@ -130,7 +130,7 @@ function workspaceFile(overrides: Readonly<Record<string, string>> = {}): string
const coreBuildKey = coreBuildSpec === undefined
? CORE_BUILD_PACKAGE
: `${CORE_BUILD_PACKAGE}@${coreBuildSpec.replace('file:./', 'file:')}`
return `packages:\n - .\n\n${overrideSection}${WORKSPACE_SETTINGS}allowBuilds:\n node-pty: true\n koffi: true\n ${JSON.stringify(coreBuildKey)}: true\n '@google/genai': false\n protobufjs: false\n node-addon-require-builtin: false\n`
return `packages:\n - .\n\n${overrideSection}${WORKSPACE_SETTINGS}allowBuilds:\n node-pty: true\n koffi: true\n fs-ext: true\n ${JSON.stringify(coreBuildKey)}: true\n '@google/genai': false\n protobufjs: false\n node-addon-require-builtin: false\n`
}
function releaseFile(projectDir: string): DesktopRelease {