parent
1a4ef8769f
commit
7025769c69
|
|
@ -9,7 +9,7 @@ v2025.12.0で行われた「configの`trustProxy`のデフォルト値を`false`
|
||||||
- 依存関係の更新
|
- 依存関係の更新
|
||||||
|
|
||||||
### Client
|
### Client
|
||||||
-
|
- Fix: バージョン表記のないPlayが正しく動作しない問題を修正
|
||||||
|
|
||||||
### Server
|
### Server
|
||||||
-
|
-
|
||||||
|
|
|
||||||
|
|
@ -193,7 +193,7 @@ function start() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getIsLegacy(version: string | null): boolean {
|
function getIsLegacy(version: string | null): boolean {
|
||||||
if (version == null) return false;
|
if (version == null) return true;
|
||||||
try {
|
try {
|
||||||
return compareVersions(version, '1.0.0') < 0;
|
return compareVersions(version, '1.0.0') < 0;
|
||||||
} catch {
|
} catch {
|
||||||
|
|
@ -206,7 +206,7 @@ async function run() {
|
||||||
if (!flash.value) return;
|
if (!flash.value) return;
|
||||||
|
|
||||||
const version = utils.getLangVersion(flash.value.script);
|
const version = utils.getLangVersion(flash.value.script);
|
||||||
const isLegacy = version != null && getIsLegacy(version);
|
const isLegacy = getIsLegacy(version);
|
||||||
|
|
||||||
const { Interpreter, Parser, values } = isLegacy ? (await import('@syuilo/aiscript-0-19-0') as any) : await import('@syuilo/aiscript');
|
const { Interpreter, Parser, values } = isLegacy ? (await import('@syuilo/aiscript-0-19-0') as any) : await import('@syuilo/aiscript');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue