chore: format code

This commit is contained in:
GitHub Action 2025-12-12 14:58:12 +00:00
parent 77176613da
commit 4b98207ae8
2 changed files with 6 additions and 6 deletions

View file

@ -2,9 +2,7 @@
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": [
"main"
],
"windows": ["main"],
"permissions": [
"core:default",
"opener:default",
@ -18,4 +16,4 @@
"window-state:default",
"os:default"
]
}
}

View file

@ -5,7 +5,7 @@ import { runUpdater } from "./updater"
import { onMount } from "solid-js"
import { open, save } from "@tauri-apps/plugin-dialog"
import { open as shellOpen } from "@tauri-apps/plugin-shell"
import { type as ostype } from '@tauri-apps/plugin-os'
import { type as ostype } from "@tauri-apps/plugin-os"
const root = document.getElementById("root")
if (import.meta.env.DEV && !(root instanceof HTMLElement)) {
@ -55,7 +55,9 @@ render(() => {
return (
<PlatformProvider value={platform}>
{ostype() === "macos" && <div class="bg-background-base border-b border-border-weak-base h-8" data-tauri-drag-region />}
{ostype() === "macos" && (
<div class="bg-background-base border-b border-border-weak-base h-8" data-tauri-drag-region />
)}
<App />
</PlatformProvider>
)