Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashuaidehao committed Aug 3, 2021
1 parent d86be1e commit 604e7b4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions neo3-gui/neo3-gui/ClientApp/gui-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Port": 8081,
"RPCURL": "http://localhost:8081",
"Language": "zh",
"Network": "private"
"Language": "",
"Network": "mainnet"
}
13 changes: 9 additions & 4 deletions neo3-gui/neo3-gui/ClientApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,15 @@
"./preload.js",
"./package.json"
],
"extraResources": {
"from": "./build-neo-node/",
"to": "./build-neo-node/"
},
"extraResources": [
{
"from": "./build-neo-node/",
"to": "./build-neo-node/"
},
{
"filter": "./gui-config.json"
}
],
"win": {
"target": "nsis",
"icon": "public/logo512.png"
Expand Down
2 changes: 1 addition & 1 deletion neo3-gui/neo3-gui/ClientApp/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Config {
this.Port = config.Port || 8081;
this.RPCURL = config.RPCURL || "http://localhost:" + this.Port;
this.Language = config.Language || "";
this.Network = config.Network || "testnet";
this.Network = config.Network || "mainnet";
};

/**
Expand Down

0 comments on commit 604e7b4

Please sign in to comment.