update aiscript
This commit is contained in:
parent
6f9aa94e3a
commit
1cae688ccb
5 changed files with 21 additions and 21 deletions
|
|
@ -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 = ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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 :(`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue