mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-12 01:39:43 +00:00
chore(desktop): format code and remove trailing whitespaces
This commit is contained in:
parent
f7c40f9baa
commit
29e5930d08
@ -52,7 +52,7 @@ export function verifySingleProject(projectPath: string): boolean {
|
||||
logger.info(`name`, pkg.name)
|
||||
logger.info(`version`, pkg.version)
|
||||
logger.info(`identifier`, pkg.kunkun.identifier)
|
||||
|
||||
|
||||
if ((pkg.files?.length ?? 0) === 0) {
|
||||
logger.warn(
|
||||
`"files" field is empty, it is recommended to include only the necessary files, e.g. dist`
|
||||
|
@ -61,7 +61,6 @@
|
||||
"settings_add_dev_ext_description": "There are 4 options to install an extension in developer mode. Either load it from your local tarball file, local folder, a tarball remote URL, or npm package name.",
|
||||
"settings_add_dev_ext_install_from_ext_folders": "Install from Extension Folders",
|
||||
"settings_add_dev_ext_install_from_ext_files": "Install from Extension Tarball File",
|
||||
|
||||
"settings_add_dev_ext_drag_and_drop": "Drag and Drop",
|
||||
"settings_add_dev_ext_drag_and_drop_strike": "Drag and Drop",
|
||||
"settings_add_dev_ext_drag_and_drop2": "Extension Folder or Tarball",
|
||||
|
@ -111,15 +111,18 @@
|
||||
</script>
|
||||
|
||||
<div class="my-3 flex justify-center gap-3">
|
||||
<Button size="sm" onclick={pickExtFolders}
|
||||
>{m.settings_add_dev_ext_install_from_ext_folders()}</Button
|
||||
>
|
||||
<Button size="sm" onclick={pickExtFiles}>{m.settings_add_dev_ext_install_from_ext_files()}</Button
|
||||
>
|
||||
<Button size="sm" onclick={pickExtFolders}>
|
||||
{m.settings_add_dev_ext_install_from_ext_folders()}
|
||||
</Button>
|
||||
<Button size="sm" onclick={pickExtFiles}>
|
||||
{m.settings_add_dev_ext_install_from_ext_files()}
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<StrikeSeparator class="my-1">
|
||||
<h3 class="text-muted-foreground font-mono text-sm">{m.settings_add_dev_ext_drag_and_drop_strike()}</h3>
|
||||
<h3 class="text-muted-foreground font-mono text-sm">
|
||||
{m.settings_add_dev_ext_drag_and_drop_strike()}
|
||||
</h3>
|
||||
</StrikeSeparator>
|
||||
|
||||
<Layouts.Center>
|
||||
@ -150,12 +153,12 @@
|
||||
icon={{ value: "mdi:folder-cog-outline", type: IconEnum.Iconify }}
|
||||
class="h-10 w-10"
|
||||
/>
|
||||
<small class="select-none font-mono text-xs"
|
||||
>{m.settings_add_dev_ext_drag_and_drop()}</small
|
||||
>
|
||||
<small class="select-none font-mono text-xs"
|
||||
>{m.settings_add_dev_ext_drag_and_drop2()}</small
|
||||
>
|
||||
<small class="select-none font-mono text-xs">
|
||||
{m.settings_add_dev_ext_drag_and_drop()}
|
||||
</small>
|
||||
<small class="select-none font-mono text-xs">
|
||||
{m.settings_add_dev_ext_drag_and_drop2()}
|
||||
</small>
|
||||
</div>
|
||||
</button>
|
||||
</Card.Root>
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
## Permission Table
|
||||
|
||||
<table>
|
||||
@ -7,7 +6,6 @@
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user