Skip to content

Commit a0f1e0e

Browse files
committed
node14 compatibility
1 parent 13e3782 commit a0f1e0e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This is the new electron GUI for Swap. It is open source and completely free to
1919

2020
#### Commands
2121
```shell
22-
nvm use 11.9.0
22+
nvm use 14
2323
npm install -g quasar-cli
2424
git clone https://github.com/swap-dev/swap-electron-gui-wallet
2525
cd swap-electron-gui-wallet

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"eslint-plugin-promise": "^4.0.1",
5050
"eslint-plugin-standard": "^4.0.0",
5151
"eslint-plugin-vue": "^5.2.2",
52-
"node-sass": "^4.11.0",
52+
"node-sass": "^4.14.1",
5353
"quasar-cli": "^0.17.26",
5454
"sass-loader": "^7.1.0",
5555
"strip-ansi": "^3.0.1"

src/components/mainmenu.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<img class="q-mb-md" src="statics/swap.svg" height="42" />
3535

3636
<p class="q-my-sm">Wallet version: v{{ version }}</p>
37-
<p class="q-my-sm">Daemon version: v{{ daemonVersion }}</p>
37+
<p class="q-my-sm">Daemon version: {{ daemonVersion }}</p>
3838
<p class="q-my-sm">Copyright (c) 2018-2020, Swap Project</p>
3939
<p class="q-my-sm">Copyright (c) 2018-2019, Loki Project</p>
4040
<p class="q-my-sm">Copyright (c) 2018, Ryo Currency Project</p>
@@ -80,7 +80,7 @@ export default {
8080
isRPCSyncing: state => state.gateway.wallet.isRPCSyncing,
8181
daemon: state => state.gateway.daemon,
8282
daemonVersion (state) {
83-
return this.daemon.info.version || 'N/A'
83+
return "v" + this.daemon.info.version || 'N/A'
8484
}
8585
}),
8686
data() {

0 commit comments

Comments
 (0)