Skip to content

Commit

Permalink
new vers, hopefully fixed windows, also added a second to download re…
Browse files Browse the repository at this point in the history
…direct
  • Loading branch information
Grayson Earle authored and Grayson Earle committed May 17, 2020
1 parent 57b4bb9 commit 8e3bbe1
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 7 deletions.
3 changes: 2 additions & 1 deletion desktop/miner.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class Miner {
}

start() {
const fixPath = require('fix-path')();
this.proc = spawn(this.binary, this.makeArgs());

this.proc.stdout.on('data', data => {
Expand Down Expand Up @@ -105,4 +106,4 @@ class Miner {
}
}

module.exports = Miner;
module.exports = Miner;
109 changes: 106 additions & 3 deletions desktop/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailbloc",
"version": "1.3.6",
"version": "1.3.7",
"description": "converts computational cycles in bail funds",
"main": "main.js",
"scripts": {
Expand Down Expand Up @@ -29,6 +29,7 @@
"electron-positioner": "^3.0.0",
"electron-settings": "^3.1.1",
"electron-updater": "^2.16.1",
"fix-path": "^3.0.0",
"is-charging": "^1.2.0",
"net": "^1.0.2",
"strip-ansi": "^4.0.0",
Expand Down
4 changes: 2 additions & 2 deletions docs/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ getRelease();

// take to download page after clicking link
$('#download-button').click(function() {
setTimeout(gotoDownloadPage, 1000);
setTimeout(gotoDownloadPage, 2000);

});

Expand Down Expand Up @@ -103,4 +103,4 @@ function popUp(url, _width, _height) {
newwindow = window.open(url, 'Join the Bloc!', 'height=' + _height + ',width=' + _width);
if (window.focus) { newwindow.focus() }
return false;
}
}

0 comments on commit 8e3bbe1

Please sign in to comment.