Enhance Docker image pulling process and remove Bitcoin Core UI
- Improved the Docker image pulling process in the startup script with a spinner for better user feedback. - Added a tip for monitoring progress in Docker Desktop. - Removed the Bitcoin Core HTML UI file as it is no longer needed; replaced with connection info alert in the app view. - Updated the app view to provide direct connection details for Bitcoin Core instead of opening a separate page.
This commit is contained in:
@@ -185,9 +185,11 @@ function launchApp(id: string) {
|
||||
const isDev = import.meta.env.DEV
|
||||
const pkg = packages.value[id]
|
||||
|
||||
// Special handling for Bitcoin Core - open standalone HTML page in new tab
|
||||
// Special handling for Bitcoin Core - it's a headless node with no web UI
|
||||
// Just show connection info instead
|
||||
if (id === 'bitcoin') {
|
||||
window.open('/bitcoin-core.html', '_blank', 'noopener,noreferrer')
|
||||
const rpcPort = pkg?.installed?.lanAddress?.match(/:(\d+)/)?.[1] || '18443'
|
||||
alert(`✅ Bitcoin Core is running!\n\n🔗 RPC Endpoint: http://localhost:${rpcPort}\n👤 User: bitcoin\n🔑 Password: bitcoinpass\n\n💡 Use bitcoin-cli or an RPC client to interact.\n📊 View blockchain data in Mempool: http://localhost:4080`)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user