initailize migration helper

This commit is contained in:
DitFranXX
2021-04-26 20:03:35 +09:00
parent 75b6cd9464
commit 91f772d309
5 changed files with 27 additions and 8 deletions
+5 -2
View File
@@ -2,13 +2,16 @@ import { gameInfoGet, shopInfoRegist } from "./handlers/info";
import { playableMusic } from "./handlers/MusicList"
import { getPlayer, check, regist, savePlayer } from "./handlers/profiles";
import { updatePlayerInfo } from "./handlers/webui";
import { isRequiredVersion } from "./utils";
import { isRequiredCoreVersion } from "./utils";
import { initialze as migrationInitialize } from "./utils/migration"
export function register() {
if(!isRequiredVersion(1, 20)) {
if(!isRequiredCoreVersion(1, 20)) {
console.error("You need newer version of Core. v1.20 or newer required.")
}
migrationInitialize()
R.GameCode('M32');
R.Config("enable_custom_mdb", {