This commit is contained in:
2026-02-05 18:29:05 -05:00
parent 91de49be0d
commit 03e69d04dc
8 changed files with 74 additions and 57 deletions

View File

@@ -30,7 +30,11 @@ const platformKey = `${platform}-${arch}`
const platformPkg = platformMap[platformKey]
if (platformPkg) {
const libName = platform === "win32" ? "opentui.dll" : "libopentui.dylib"
const libName = platform === "win32"
? "opentui.dll"
: platform === "darwin"
? "libopentui.dylib"
: "libopentui.so"
const srcPath = join("node_modules", `@opentui/core-${platformPkg}`, libName)
if (existsSync(srcPath)) {