update aiscript

This commit is contained in:
syuilo
2023-01-05 16:57:49 +09:00
parent 6f9aa94e3a
commit 1cae688ccb
5 changed files with 21 additions and 21 deletions

View File

@@ -11,7 +11,7 @@
"@rollup/plugin-alias": "4.0.2",
"@rollup/plugin-json": "6.0.0",
"@rollup/pluginutils": "5.0.2",
"@syuilo/aiscript": "0.12.0",
"@syuilo/aiscript": "0.12.1",
"@tabler/icons": "^1.118.0",
"@vitejs/plugin-vue": "4.0.0",
"@vue/compiler-sfc": "3.2.45",

View File

@@ -47,7 +47,7 @@ if (props.id) {
let title = $ref(flash?.title ?? 'New Play');
let summary = $ref(flash?.summary ?? '');
let permissions = $ref(flash?.permissions ?? []);
let script = $ref(flash?.script ?? `/// @ 0.12.0
let script = $ref(flash?.script ?? `/// @ 0.12.1
var name = ""

View File

@@ -49,7 +49,7 @@ async function install() {
text: 'No language version annotation found :(',
});
return;
} else if (lv !== '0.12.0') {
} else if (!lv.startsWith('0.12.')) {
os.alert({
type: 'error',
text: `aiscript version '${lv}' is not supported :(`,