Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0152be5df6 | ||
|
|
2dba6d3b72 |
@@ -91,6 +91,7 @@ Remove debug text in app.ts
|
|||||||
investigate `xo-cli mnemonic list` not showing mnemonics saved from tui
|
investigate `xo-cli mnemonic list` not showing mnemonics saved from tui
|
||||||
Add sats into the send tx page or something to make it nicer
|
Add sats into the send tx page or something to make it nicer
|
||||||
Throw error for 0 change output (not sure how I handle fees?)
|
Throw error for 0 change output (not sure how I handle fees?)
|
||||||
|
Improve updater so it can run on dev mode
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
xo-cli update --check
|
xo-cli update --check
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ async function main(): Promise<void> {
|
|||||||
await run("git", ["merge", "--ff-only", options.to], options.repo);
|
await run("git", ["merge", "--ff-only", options.to], options.repo);
|
||||||
updated = true;
|
updated = true;
|
||||||
await run("npm", ["ci"], options.repo);
|
await run("npm", ["ci"], options.repo);
|
||||||
await run("npm", ["run", "build"], options.repo);
|
await run("npm", ["run", "build:unsafe"], options.repo);
|
||||||
console.log("XO was updated successfully.");
|
console.log("XO was updated successfully.");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Update failed; restoring the previous revision.");
|
console.error("Update failed; restoring the previous revision.");
|
||||||
@@ -167,7 +167,7 @@ async function main(): Promise<void> {
|
|||||||
try {
|
try {
|
||||||
await run("git", ["reset", "--hard", options.from], options.repo);
|
await run("git", ["reset", "--hard", options.from], options.repo);
|
||||||
await run("npm", ["ci"], options.repo);
|
await run("npm", ["ci"], options.repo);
|
||||||
await run("npm", ["run", "build"], options.repo);
|
await run("npm", ["run", "build:unsafe"], options.repo);
|
||||||
console.error("The previous revision was restored.");
|
console.error("The previous revision was restored.");
|
||||||
} catch (rollbackError) {
|
} catch (rollbackError) {
|
||||||
console.error("Automatic rollback also failed:", rollbackError);
|
console.error("Automatic rollback also failed:", rollbackError);
|
||||||
|
|||||||
Reference in New Issue
Block a user