bump version to 0.0.4

This commit is contained in:
2026-08-02 13:30:49 +08:00
parent a06c463653
commit d9ca8a0047
3 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ export default {
app: {
name: 'koins',
identifier: 'koins.tzgyn.com',
version: '0.0.3',
version: '0.0.4',
},
build: {
// Vite builds to dist/, we copy from there
+6 -7
View File
@@ -246,16 +246,15 @@ export async function stop(state: MoneroWalletState) {
console.log(`[monero] wallet save before stop failed:`, e)
}
if (state.process) {
console.log(
`[monero] sending SIGTERM to wallet-rpc (pid ${state.process.pid})`,
)
state.process.kill()
await Promise.race([state.process.exited, sleep(3000)])
if (state.process.exitCode === null) {
const proc = state.process
console.log(`[monero] sending SIGTERM to wallet-rpc (pid ${proc.pid})`)
proc.kill()
await Promise.race([proc.exited, sleep(3000)])
if (proc.exitCode === null) {
console.log(
`[monero] wallet-rpc did not exit gracefully, sending SIGKILL`,
)
state.process.kill('SIGKILL')
proc.kill('SIGKILL')
}
state.process = null
}
@@ -101,6 +101,10 @@ export const MoneroWallet = () => {
await start()
await checkStatus()
}
if (!running) {
error = 'Wallet server failed to start. Please try again.'
return
}
await listWallets()
if (wallets.length > 0) {
const pw = await moneroGetStoredPassword(wallets[0])