feat: Provide virtual disk operation API

This commit is contained in:
onejibang
2024-05-13 16:35:05 +08:00
parent cf35afcab2
commit 26e83798da
3 changed files with 11 additions and 42 deletions

View File

@@ -38,6 +38,10 @@ try {
// eslint-disable-next-line no-undef
meta.script = $script;
}
if (typeof $Plugin !== 'undefined') {
// eslint-disable-next-line no-undef
meta.plugin = $Plugin;
}
if (isNode) {
meta.node = {
version: eval('process.version'),
@@ -53,9 +57,6 @@ try {
}
}
}
if (isGUIforCores) {
meta.plugin = Plugin;
}
// eslint-disable-next-line no-empty
} catch (e) {}