bump version to 0.0.4
This commit is contained in:
@@ -4,7 +4,7 @@ export default {
|
|||||||
app: {
|
app: {
|
||||||
name: 'koins',
|
name: 'koins',
|
||||||
identifier: 'koins.tzgyn.com',
|
identifier: 'koins.tzgyn.com',
|
||||||
version: '0.0.3',
|
version: '0.0.4',
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
// Vite builds to dist/, we copy from there
|
// 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)
|
console.log(`[monero] wallet save before stop failed:`, e)
|
||||||
}
|
}
|
||||||
if (state.process) {
|
if (state.process) {
|
||||||
console.log(
|
const proc = state.process
|
||||||
`[monero] sending SIGTERM to wallet-rpc (pid ${state.process.pid})`,
|
console.log(`[monero] sending SIGTERM to wallet-rpc (pid ${proc.pid})`)
|
||||||
)
|
proc.kill()
|
||||||
state.process.kill()
|
await Promise.race([proc.exited, sleep(3000)])
|
||||||
await Promise.race([state.process.exited, sleep(3000)])
|
if (proc.exitCode === null) {
|
||||||
if (state.process.exitCode === null) {
|
|
||||||
console.log(
|
console.log(
|
||||||
`[monero] wallet-rpc did not exit gracefully, sending SIGKILL`,
|
`[monero] wallet-rpc did not exit gracefully, sending SIGKILL`,
|
||||||
)
|
)
|
||||||
state.process.kill('SIGKILL')
|
proc.kill('SIGKILL')
|
||||||
}
|
}
|
||||||
state.process = null
|
state.process = null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,6 +101,10 @@ export const MoneroWallet = () => {
|
|||||||
await start()
|
await start()
|
||||||
await checkStatus()
|
await checkStatus()
|
||||||
}
|
}
|
||||||
|
if (!running) {
|
||||||
|
error = 'Wallet server failed to start. Please try again.'
|
||||||
|
return
|
||||||
|
}
|
||||||
await listWallets()
|
await listWallets()
|
||||||
if (wallets.length > 0) {
|
if (wallets.length > 0) {
|
||||||
const pw = await moneroGetStoredPassword(wallets[0])
|
const pw = await moneroGetStoredPassword(wallets[0])
|
||||||
|
|||||||
Reference in New Issue
Block a user