Skip to content
Snippets Groups Projects
Commit 62fc4b15 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] Could not build modules on Duniter Desktop

parent 4b5b31e8
Branches
Tags
No related merge requests found
......@@ -108,11 +108,11 @@ function npmRemove(what, npm, cwd) {
}
function getNode() {
return process.argv[0]
return process.argv[0].replace(/(node|nw)$/, 'node')
}
function getNPM() {
return process.argv[0].replace(/node$/, 'npm')
return process.argv[0].replace(/(node|nw)$/, 'npm')
}
function getCWD() {
......
......@@ -53,7 +53,7 @@
let gui = require('nw.gui');
let packageJSON = require('../../nw/package.json');
let packageJSON = require(require('path').resolve('./package.json'));
function reqListener () {
document.getElementById('loader').innerHTML = 'Server ready.';
clearTimeout(strangeTimeout);
......
{
"name": "v1.3.3",
"main": "index.html",
"js-flags": "--max_old_space_size=300",
"node-main": "../sources/bin/duniter",
"window": {
"icon": "duniter.png",
"title": "v1.3.3",
"width": 800,
"height": 800,
"min_width": 750,
"min_height": 400
}
}
......@@ -9,6 +9,15 @@
"private": false,
"description": "Crypto-currency software allowing to build P2P free currencies",
"main": "index.js",
"node-main": "../sources/bin/duniter",
"window": {
"icon": "duniter.png",
"title": "v1.3.3",
"width": 800,
"height": 800,
"min_width": 750,
"min_height": 400
},
"directories": {
"test": "test"
},
......
......@@ -808,8 +808,8 @@ duniter-prover@^1.3.3:
underscore "1.8.3"
duniter-ui@1.3.x:
version "1.3.7"
resolved "https://registry.yarnpkg.com/duniter-ui/-/duniter-ui-1.3.7.tgz#f8e012788e3acb728cb9daa5ae176cda99ea5df2"
version "1.3.8"
resolved "https://registry.yarnpkg.com/duniter-ui/-/duniter-ui-1.3.8.tgz#67f790c2c06ca93b92a9d84c0b0ebb3238b1d153"
dependencies:
adm-zip "0.4.7"
body-parser "1.17.1"
......@@ -924,11 +924,11 @@ escape-html@~1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
escape-string-regexp@1.0.2, escape-string-regexp@^1.0.2:
escape-string-regexp@1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz#4dbc2fe674e71949caf3fb2695ce7f2dc1d9a8d1"
escape-string-regexp@^1.0.5:
escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
......@@ -1760,12 +1760,6 @@ jison@0.4.17:
lex-parser "~0.1.3"
nomnom "1.5.2"
jodid25519@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967"
dependencies:
jsbn "~0.1.0"
jquery@^2.1.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-2.2.4.tgz#2c89d6889b5eac522a7eea32c14521559c6cbf02"
......@@ -2549,8 +2543,8 @@ rechoir@^0.6.2:
resolve "^1.1.6"
remove-trailing-separator@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz#615ebb96af559552d4bf4057c8436d486ab63cc4"
version "1.0.2"
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.2.tgz#69b062d978727ad14dc6b56ba4ab772fd8d70511"
repeat-string@^1.5.2:
version "1.6.1"
......@@ -2901,8 +2895,8 @@ sqlite3@3.1.4:
node-pre-gyp "~0.6.28"
sshpk@^1.7.0:
version "1.13.0"
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.0.tgz#ff2a3e4fd04497555fed97b39a0fd82fafb3a33c"
version "1.13.1"
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.1.tgz#512df6da6287144316dc4c18fe1cf1d940739be3"
dependencies:
asn1 "~0.2.3"
assert-plus "^1.0.0"
......@@ -2911,7 +2905,6 @@ sshpk@^1.7.0:
optionalDependencies:
bcrypt-pbkdf "^1.0.0"
ecc-jsbn "~0.1.1"
jodid25519 "^1.0.0"
jsbn "~0.1.0"
tweetnacl "~0.14.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment