Fix Holesail in Bare standalone via static import
Release rolling / release (push) Successful in 8m20s
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:
+1
-1
@@ -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'}`,
|
||||
|
||||
Reference in New Issue
Block a user