Updownload
Docs: https://docs.api.kunkun.sh/interfaces/index.IUpdownload
API and Permissions
import { updownload, path } from "@kksh/api/ui/template";
import { updownload, path } from "@kksh/api/ui/custom";
import { updownload, path } from "@kksh/api/headless";
await updownload.download( 'https://schema.kunkun.sh', await path.join(await path.desktopDir(), 'kk-ext-schema.json'));