rename to wowlite

Signed-off-by: wowario <wowario@protonmail.com>
v0.1.4
wowario 4 years ago
parent d04a72cd60
commit 8221a022a3
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

2
.gitignore vendored

@ -9,6 +9,6 @@ npm-debug.log.*
thumbs.db
!.gitkeep
.idea
wowlight
wowlite
package-lock.json
*.log

@ -30,7 +30,7 @@ make -j4
Use `light_patch.diff` that's included in this repository. Move resulting binary into the resources folder:
```
cp build/release/bin/wownero-wallet-cli wowlight/resources/linux/bin/wowlight
cp build/release/bin/wownero-wallet-cli wowlite/resources/linux/bin/wowlite
```
Build the light wallet:

@ -14,9 +14,9 @@ const execPath = IS_PROD ?
const cli_binaries = {
'linux': 'wowlight',
'mac': 'wowlight',
'win': 'wowlight.exe'
'linux': 'wowlite',
'mac': 'wowlite',
'win': 'wowlite.exe'
}
export const cliPath = `${joinPath(execPath, cli_binaries[getPlatform()])}`;

@ -3,7 +3,7 @@ const fs = require('fs');
export class Config {
constructor(wowdir) {
this._path_cfg = `${wowdir}/wowlight.json`;
this._path_cfg = `${wowdir}/wowlite.json`;
this.create();
this.data = this.load();
}

@ -11,7 +11,7 @@ export class WowRpc {
constructor(wowdir, cli_path) {
this._wowdir = wowdir;
this._cli_process = null;
this._cli_log_path = path.join(os.tmpdir(), 'wowlight-wallet.log');
this._cli_log_path = path.join(os.tmpdir(), 'wowlite-wallet.log');
if(!cli_path) {
this._cli_path = cliPath;
} else {

@ -47,7 +47,7 @@
<script>
export default {
name: 'wowlight',
name: 'wowlite',
computed: {
height_from() {
return this.$store.getters.height_from;

@ -126,14 +126,14 @@
this.$store.commit('addRateXMR', response.data.ask);
});
axios.get(`https://funding.wownero.com/api/1/wowlight?version=0.1.4`).then(response => {
axios.get(`https://funding.wownero.com/api/1/wowlite?version=0.1.4`).then(response => {
if(response.data.data === false) {
const {dialog} = require('electron').remote
const dialogOptions = {
type: 'error',
title: 'Outdated client',
buttons: ['OK'],
message: `You are running an old instance of wowlight and need to upgrade!\n\nVisit https://light.wownero.com for a shiny new version.`
message: `You are running an old instance of wowlite and need to upgrade!\n\nVisit https://light.wownero.com for a shiny new version.`
}
dialog.showMessageBox(dialogOptions, i => {});
}

@ -69,7 +69,7 @@
pathConfig() {
const path = require('path');
return path.join(this.$store.state.wallet_dir, 'wowlight.json');
return path.join(this.$store.state.wallet_dir, 'wowlite.json');
}
}
}

Loading…
Cancel
Save