mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-03 22:26:43 +00:00

* chore: add vendor submodules * feat: add packages for db,ci,schema,api,jarvis cmds * feat: add tauri-jarvis-plugin * feat: implement extension commands list * fix(desktop): import path errors after packages refactor * chore: add self signed cert * fix: prevent prerender for desktop * fix(desktop): desktop sveltekit static build, use csr for dynamic route * feat: add error handling page and components * refactor: component lib * refactor: move more types, functions and components out of desktop * refactor(ui): more refactor * refactor(ui): move store components to @kksh/ui * ci: add CI for build & test * refactor: rename @kksh/extensions to @kksh/extension * ci: add 2 more ci * ci: fix * fix: CI env var * chore: add changeset * feat: implement extension store item detail view * feat: implement extension store install, uninstall, upgrade * format * revert: upgradable logic, the new one doesn't work yet * refactor: make @kksh/ui dependent only on @kksh/api Reason: @kksh/ui may be published later for building website, all its dependency packages must be also published. To avoid trouble it should be standalone, depend only on packages already published * refactor: cleanup * fixed: some typescript error * chore: got typedoc working on @kksh/api * ci: disable manifest schema upload CI on push
19 lines
740 B
Svelte
19 lines
740 B
Svelte
<script lang="ts">
|
|
import DevExtPathForm from "@/components/standalone/settings/DevExtPathForm.svelte"
|
|
import { goBackOnEscape } from "@/utils/key"
|
|
import { goBack } from "@/utils/route"
|
|
import { Button } from "@kksh/svelte5"
|
|
import { ArrowLeftIcon } from "lucide-svelte"
|
|
</script>
|
|
|
|
<svelte:window on:keydown|preventDefault={goBackOnEscape} />
|
|
<Button variant="outline" size="icon" class="absolute left-2 top-2 z-50" onclick={goBack}>
|
|
<ArrowLeftIcon class="h-4 w-4" />
|
|
</Button>
|
|
<div class="absolute left-0 top-0 h-10 w-screen" data-tauri-drag-region></div>
|
|
<main class="container pt-10">
|
|
<h2 class="text-2xl font-bold">Set Dev Extension Path</h2>
|
|
<p>This is where your extensions will be installed.</p>
|
|
<DevExtPathForm />
|
|
</main>
|