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 thumbs.db
!.gitkeep !.gitkeep
.idea .idea
wowlight wowlite
package-lock.json package-lock.json
*.log *.log

@ -30,7 +30,7 @@ make -j4
Use `light_patch.diff` that's included in this repository. Move resulting binary into the resources folder: 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: Build the light wallet:

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

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

@ -11,7 +11,7 @@ export class WowRpc {
constructor(wowdir, cli_path) { constructor(wowdir, cli_path) {
this._wowdir = wowdir; this._wowdir = wowdir;
this._cli_process = null; 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) { if(!cli_path) {
this._cli_path = cliPath; this._cli_path = cliPath;
} else { } else {

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

@ -126,14 +126,14 @@
this.$store.commit('addRateXMR', response.data.ask); 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) { if(response.data.data === false) {
const {dialog} = require('electron').remote const {dialog} = require('electron').remote
const dialogOptions = { const dialogOptions = {
type: 'error', type: 'error',
title: 'Outdated client', title: 'Outdated client',
buttons: ['OK'], 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 => {}); dialog.showMessageBox(dialogOptions, i => {});
} }

@ -69,7 +69,7 @@
pathConfig() { pathConfig() {
const path = require('path'); 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