diff --git a/neo3-gui/neo3-gui/ClientApp/gui-config.json b/neo3-gui/neo3-gui/ClientApp/gui-config.json index c3f25f5..b20d533 100644 --- a/neo3-gui/neo3-gui/ClientApp/gui-config.json +++ b/neo3-gui/neo3-gui/ClientApp/gui-config.json @@ -1,6 +1,6 @@ { "Port": 8081, "RPCURL": "http://localhost:8081", - "Language": "zh", - "Network": "private" + "Language": "", + "Network": "mainnet" } \ No newline at end of file diff --git a/neo3-gui/neo3-gui/ClientApp/package.json b/neo3-gui/neo3-gui/ClientApp/package.json index e4fd98b..17faf0e 100644 --- a/neo3-gui/neo3-gui/ClientApp/package.json +++ b/neo3-gui/neo3-gui/ClientApp/package.json @@ -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" diff --git a/neo3-gui/neo3-gui/ClientApp/src/config.js b/neo3-gui/neo3-gui/ClientApp/src/config.js index 60c7ccb..345b59f 100644 --- a/neo3-gui/neo3-gui/ClientApp/src/config.js +++ b/neo3-gui/neo3-gui/ClientApp/src/config.js @@ -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"; }; /**