Permalink
Browse files

x86 support

  • Loading branch information...
Manuel-777 committed Nov 18, 2018
1 parent 9582e2c commit 252b5299413bca9778edf20d1efddf6650172837
Showing with 3 additions and 4 deletions.
  1. +1 −2 package.json
  2. +2 −2 window_background/background.js
@@ -15,8 +15,7 @@
"scripts": {
"start": "electron .",
"postinstall": "install-app-deps",
"pack": "build --dir",
"dist": "build"
"dist": "build --ia32 --x64 -w"
},
"dependencies": {
"async": "^2.6.1",
@@ -2385,7 +2385,7 @@ function httpBasic() {
var http = require('https');
if (_headers.method == 'get_database') {
var options = { protocol: 'https:', port: 443, hostname: serverAddress, path: '/mongo/database/database.json', method: 'GET'};
var options = { protocol: 'https:', port: 443, hostname: serverAddress, path: '/database/database.json', method: 'GET'};
}
else if (_headers.method == 'get_status') {
http = require('https');
@@ -2395,7 +2395,7 @@ function httpBasic() {
var options = { protocol: 'https:', port: 443, hostname: serverAddress, path: _headers.method_path, method: 'POST'};
}
else {
var options = { protocol: 'https:', port: 443, hostname: serverAddress, path: '/mongo/api.php', method: 'POST'};
var options = { protocol: 'https:', port: 443, hostname: serverAddress, path: '/api.php', method: 'POST'};
}
if (debugNet) {

0 comments on commit 252b529

Please sign in to comment.