From 4b98207ae8ea750967e55981c9c84a67b4f11660 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 12 Dec 2025 14:58:12 +0000 Subject: [PATCH] chore: format code --- packages/tauri/src-tauri/capabilities/default.json | 6 ++---- packages/tauri/src/index.tsx | 6 ++++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/tauri/src-tauri/capabilities/default.json b/packages/tauri/src-tauri/capabilities/default.json index 2c596c93d..91af8cbdc 100644 --- a/packages/tauri/src-tauri/capabilities/default.json +++ b/packages/tauri/src-tauri/capabilities/default.json @@ -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" ] -} \ No newline at end of file +} diff --git a/packages/tauri/src/index.tsx b/packages/tauri/src/index.tsx index 5b90a9cb3..84ba73c07 100644 --- a/packages/tauri/src/index.tsx +++ b/packages/tauri/src/index.tsx @@ -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 ( - {ostype() === "macos" &&
} + {ostype() === "macos" && ( +
+ )} )