bump version to 0.0.4
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user