Skip to content

Commit 49dea99

Browse files
committed
High-voltage
1 parent 1073b72 commit 49dea99

File tree

10 files changed

+157
-144
lines changed

10 files changed

+157
-144
lines changed

locales/ja/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"remark": "※一部のブラウザ(safari、スマホのchromeとか)ではブックマークの新規作成ができないですが、とりあえず何かのサイトをブックマークに登録して、登録したブックマークを編集して、スクリプトをURLアドレスのところに入れればOKです。",
2323
"imgDesc1": "名前は適当でいい",
2424
"imgDesc2": "URLのところにスクリプトをペーストして",
25-
"currentVersion": "現行バージョン NEX+AGE",
25+
"currentVersion": "現行バージョン HIGH-VOLTAGE",
2626
"currentVersionDesc": "(このスクリプトは常に現行バージョンに対応しています。新しいバージョンが来てもスクリプトを更新する必要がありません。)",
2727
"oldVersion": "古いバージョン"
2828
},

locales/ko/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"remark": "※일부 브라우저(예: 사파리, 크롬 모바일)는 북마크를 직접 새로 만드는 기능을 제공하지 않습니다. 그런 경우에는 아무 사이트나 북마크에 등록한 뒤, 해당 북마크의 URL을 아래 스크립트로 바꾸시면 됩니다.",
2323
"imgDesc1": "북마크의 이름은 원하시는 이름으로 넣으세요",
2424
"imgDesc2": "URL란에 스크립트를 붙여넣으세요",
25-
"currentVersion": "현행 버전용 스크립트: (NEX+AGE)",
25+
"currentVersion": "현행 버전용 스크립트: (HIGH-VOLTAGE)",
2626
"currentVersionDesc": "(이 스크립트는 항상 현행 버전으로부터 스킬 데이터를 가져옵니다. 버전이 바뀌었을 때 별도로 북마크를 수정하지 않아도 됩니다.)",
2727
"oldVersion": "구 버전용 스크립트:"
2828
},

locales/zh/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"remark": "※有些浏览器(比如safari、手机上的chrome)上没有办法新建书签,可以先随便添加一个任意网站的书签,然后选择编辑,把URL地址栏的内容换成下面的代码就好了。",
2323
"imgDesc1": "书签的名字可以随便填",
2424
"imgDesc2": "把代码粘贴到URL这里",
25-
"currentVersion": "当前版本 NEX+AGE",
25+
"currentVersion": "当前版本 HIGH-VOLTAGE",
2626
"currentVersionDesc": "(这个代码一直对应最新版本,即使换代也不用来更新代码)",
2727
"oldVersion": "旧版本"
2828
},

sitemap.xml

Lines changed: 137 additions & 130 deletions
Large diffs are not rendered by default.

src/constants.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
const CURRENT_VERSION = "nextage";
1+
const CURRENT_VERSION = "highvoltage";
22

3-
const ALL_VERSIONS = ["nextage", "exchain", "matixx", "tbre", "tb"];
3+
const ALL_VERSIONS = ["highvoltage", "nextage", "exchain", "matixx", "tbre", "tb"];
44

55
const VERSION_NAME = {
66
tb: "GITADORA Tri-Boost",
77
tbre: "GITADORA Tri-Boost Re:EVOLVE",
88
matixx: "GITADORA Matixx",
99
exchain: "GITADORA EXCHAIN",
10-
nextage: "GITADORA NEX+AGE"
10+
nextage: "GITADORA NEX+AGE",
11+
highvoltage: "GITADORA HIGH-VOLTAGE"
1112
};
1213

1314
const OLD_NAME_MAP = {

src/jobs/kasegi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ async function kasegi({ version, type }) {
141141

142142
module.exports = {
143143
job: () => {
144-
kasegi({ version: "nextage", type: "guitar" });
145-
kasegi({ version: "nextage", type: "drum" });
144+
kasegi({ version: "highvoltage", type: "guitar" });
145+
kasegi({ version: "highvoltage", type: "drum" });
146146
},
147147
// every day 20:00 UTC = 5:00 JST
148148
cronSchedule: "0 0 20 * * *"

src/react/AppHeader.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import HomeIcon from "@material-ui/icons/Home";
2222
import useLocalStorage from "./useLocalStorage";
2323
import { CURRENT_VERSION } from "../constants";
2424

25-
const VERSION = "v1.26.0";
25+
const VERSION = "v1.27.0-beta";
2626

2727
function AppHeader(props) {
2828
const [listAnchorEl, setListAnchorEl] = useState();
@@ -220,6 +220,9 @@ function AppHeader(props) {
220220
onClick={() => setListAnchorEl(null)}
221221
>
222222
<MenuList>
223+
<Link to={`/${locale}/highvoltage/list`}>
224+
<MenuItem>HIGH-VOLTAGE</MenuItem>
225+
</Link>
223226
<Link to={`/${locale}/nextage/list`}>
224227
<MenuItem>NEX+AGE</MenuItem>
225228
</Link>

src/react/BookmarkletScript.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function BookmarkletScript() {
2424
setSelect(event.target.value);
2525
}}
2626
>
27+
<MenuItem value="nextage">NEX+AGE</MenuItem>
2728
<MenuItem value="exchain">EXCHAIN</MenuItem>
2829
<MenuItem value="matixx">Matixx</MenuItem>
2930
</Select>

src/schema.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const typeDefs = gql`
2828
}
2929
3030
enum Version {
31+
highvoltage
3132
nextage
3233
exchain
3334
matixx

src/scripts/uploaddata_core.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ async function main(TARGET_DOMAIN, SCRIPT_DOMAIN, VERSION) {
3737
}
3838

3939
var SKILL_URLS = [
40-
`//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p/eam/playdata/skill.html?gtype=gf&stype=0`,
41-
`//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p/eam/playdata/skill.html?gtype=gf&stype=1`,
42-
`//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p/eam/playdata/skill.html?gtype=dm&stype=0`,
43-
`//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p/eam/playdata/skill.html?gtype=dm&stype=1`
40+
`//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p${VERSION==="highvoltage" ? "" : "/eam"}/playdata/skill.html?gtype=gf&stype=0`,
41+
`//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p${VERSION==="highvoltage" ? "" : "/eam"}/playdata/skill.html?gtype=gf&stype=1`,
42+
`//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p${VERSION==="highvoltage" ? "" : "/eam"}/playdata/skill.html?gtype=dm&stype=0`,
43+
`//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p${VERSION==="highvoltage" ? "" : "/eam"}/playdata/skill.html?gtype=dm&stype=1`
4444
];
4545
var SKILL_LABEL = ["guitar_other", "guitar_hot", "drum_other", "drum_hot"];
4646

@@ -165,7 +165,7 @@ async function main(TARGET_DOMAIN, SCRIPT_DOMAIN, VERSION) {
165165
}
166166

167167
async function getProfileData() {
168-
var PROFILE_URL = `//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p/eam/playdata/profile.html`;
168+
var PROFILE_URL = `//p.eagate.573.jp/game/gfdm/gitadora_${VERSION}/p${VERSION==="highvoltage" ? "" : "/eam"}/playdata/profile.html`;
169169

170170
let profileData = {};
171171
let resHtml = await $.ajax({ url: PROFILE_URL, error: handleAjaxError });

0 commit comments

Comments
 (0)