mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 13:13:49 +01:00
Fix electron w/ unsupported arch for greenworks
This commit is contained in:
parent
6fa149ff08
commit
7e94a8653e
@ -7,9 +7,11 @@ var fs = require("fs");
|
|||||||
|
|
||||||
var greenworks;
|
var greenworks;
|
||||||
|
|
||||||
if (process.platform === "darwin") greenworks = require("./lib/greenworks-osx64");
|
if (process.arch === "x64") {
|
||||||
else if (process.platform === "win32") greenworks = require("./lib/greenworks-win64");
|
if (process.platform === "darwin") greenworks = require("./lib/greenworks-osx64");
|
||||||
else if (process.platform === "linux") greenworks = require("./lib/greenworks-linux64");
|
else if (process.platform === "win32") greenworks = require("./lib/greenworks-win64");
|
||||||
|
else if (process.platform === "linux") greenworks = require("./lib/greenworks-linux64");
|
||||||
|
}
|
||||||
|
|
||||||
function error_process(err, error_callback) {
|
function error_process(err, error_callback) {
|
||||||
if (err && error_callback) error_callback(err);
|
if (err && error_callback) error_callback(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user