Skip to content

Commit 3060011

Browse files
abotabot
authored andcommitted
fix: add /opt/homebrew extensionAPI fallback
1 parent 2c4f118 commit 3060011

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ function getExtensionApiImportSpecifiers(): string[] {
345345

346346
specifiers.push(toImportSpecifier("/usr/lib/node_modules/openclaw/dist/extensionAPI.js"));
347347
specifiers.push(toImportSpecifier("/usr/local/lib/node_modules/openclaw/dist/extensionAPI.js"));
348+
specifiers.push(toImportSpecifier("/opt/homebrew/lib/node_modules/openclaw/dist/extensionAPI.js"));
348349

349350
return [...new Set(specifiers.filter(Boolean))];
350351
}

0 commit comments

Comments
 (0)