This implements backend path management, backup system, cross-platform utilities, and refactors the `appload` plugin arch to support portable mode deployment. The changes are mainly establishing foundational infra maintaining current frontend behavior until phase-3+ integration.
25 lines
673 B
JavaScript
25 lines
673 B
JavaScript
'use strict';
|
|
|
|
var core = require('@tauri-apps/api/core');
|
|
|
|
async function download(options) {
|
|
return await core.invoke('plugin:appload|download', { options });
|
|
}
|
|
async function load(options) {
|
|
return await core.invoke('plugin:appload|load', { options });
|
|
}
|
|
async function close(options) {
|
|
return await core.invoke('plugin:appload|close', { options });
|
|
}
|
|
async function remove(options) {
|
|
return await core.invoke('plugin:appload|remove', { options });
|
|
}
|
|
async function clear() {
|
|
return await core.invoke('plugin:appload|clear');
|
|
}
|
|
|
|
exports.clear = clear;
|
|
exports.close = close;
|
|
exports.download = download;
|
|
exports.load = load;
|
|
exports.remove = remove;
|