Skip to content

Commit cf97afd

Browse files
authored
Merge pull request #2531 from planetarium/release/2.7.9
Release/2.7.9 to dev
2 parents eb8da50 + 8ce8d20 commit cf97afd

File tree

4 files changed

+11
-16
lines changed

4 files changed

+11
-16
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
mv temp.txt yarn.lock
5858
5959
- name: Cache electron-gyp
60-
uses: actions/cache@v3.3.1
60+
uses: actions/cache@v4
6161
with:
6262
path: ~/.electron-gyp
6363
key: ${{ runner.os }}-electron-gyp

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
fi
9999
100100
- name: Cache electron-gyp
101-
uses: actions/cache@v3.3.1
101+
uses: actions/cache@v4
102102
with:
103103
path: ~/.electron-gyp
104104
key: ${{ runner.os }}-electron-gyp

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "NineChronicles",
33
"productName": "Nine Chronicles",
4-
"version": "2.7.8",
4+
"version": "2.7.9",
55
"description": "Game Launcher for Nine Chronicles",
66
"author": "Planetarium <engineering@planetariumhq.com>",
77
"license": "GPL-3.0",

src/stores/planetary.ts

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,14 @@ export default class PlanetaryStore {
106106
if (this.planet) {
107107
configStore.set("Planet", this.planet.id);
108108
configStore.set("GenesisBlockPath", this.planet.genesisUri);
109-
configStore.set("DataProviderUrl", this.planet.rpcEndpoints["dp.gql"]);
110-
configStore.set(
111-
"MarketServiceUrl",
112-
this.planet.rpcEndpoints["market.rest"],
113-
);
114-
configStore.set(
115-
"PatrolRewardServiceUrl",
116-
this.planet.rpcEndpoints["patrol-reward.gql"],
117-
);
118-
configStore.set(
119-
"OnboardingPortalUrl",
120-
this.planet.rpcEndpoints["world-boss.rest"],
121-
);
109+
110+
const playerConfig = configStore.get("PlayerConfig");
111+
playerConfig["MarketServiceHost"] =
112+
this.planet.rpcEndpoints["market.rest"];
113+
playerConfig["OnboardingHost"] =
114+
this.planet.rpcEndpoints["world-boss.rest"];
115+
playerConfig["ArenaServiceHost"] = this.planet.rpcEndpoints["arena.rest"];
116+
configStore.set("PlayerConfig", playerConfig);
122117
}
123118
}
124119
}

0 commit comments

Comments
 (0)