Fix Holesail in Bare standalone via static import
Release rolling / release (push) Successful in 8m20s

createRequire(import.meta.url) could not resolve holesail inside the
packed app bundle even though holesail was embedded. Import holesail
statically so Bare resolution works; surface loadError in status banner.
This commit is contained in:
Raven Scott
2026-07-11 15:50:56 -04:00
parent 6bdb64b1fd
commit 06022e6e90
2 changed files with 25 additions and 6 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ logger.banner([
? 'off (ENABLE_HOLESAIL=0)'
: hs?.available
? `on · max ${hs.max} tunnels`
: 'on but package missing'
: `on but package missing${hs?.loadError ? ` · ${String(hs.loadError).slice(0, 80)}` : ''}`
}`,
`Swarm RPC: ${isSwarmEnabled() ? 'on' : 'off'} · Plugins: ${isPluginsEnabled() ? 'on' : 'off'}`,
`Log: ${logger.format} · level ${['error', 'warn', 'info', 'debug'][logger.level] || 'info'}`,