auto-start monero-wallet-rpc on app startup when binary is installed

Reduces wait time when switching to Monero tab — RPC is already
running by the time user navigates there.
This commit is contained in:
2026-05-18 05:32:28 +08:00
parent 9396ffb1e0
commit 8917d6e9e3
@@ -125,6 +125,10 @@ export const Wallet = () => {
if (ph) passwordHash = ph if (ph) passwordHash = ph
await checkMoneroStatus() await checkMoneroStatus()
if (moneroInstalled && !moneroRunning && !moneroDownloading) {
await moneroStart()
await checkMoneroStatus()
}
await checkBiometric() await checkBiometric()
ready = true ready = true
} }