chore(desktop): format code and remove trailing whitespaces

This commit is contained in:
Huakun Shen 2025-02-18 03:08:06 -05:00
parent f7c40f9baa
commit 29e5930d08
No known key found for this signature in database
4 changed files with 16 additions and 16 deletions

View File

@ -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`

View File

@ -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",

View File

@ -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>

View File

@ -1,4 +1,3 @@
## Permission Table
<table>
@ -7,7 +6,6 @@
<th>Description</th>
</tr>
<tr>
<td>