Parcourir la source

chore: generate

GitHub Action il y a 3 mois
Parent
commit
f4cd708ca0
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      packages/desktop/src/index.tsx
  2. 1 1
      packages/desktop/src/updater.ts

+ 1 - 1
packages/desktop/src/index.tsx

@@ -83,7 +83,7 @@ const platform: Platform = {
 
   update: async () => {
     if (!UPDATER_ENABLED || !update) return
-    if(ostype() === "windows") await invoke("kill_sidecar")
+    if (ostype() === "windows") await invoke("kill_sidecar")
     await update.install()
   },
 

+ 1 - 1
packages/desktop/src/updater.ts

@@ -35,7 +35,7 @@ export async function runUpdater({ alertOnFail }: { alertOnFail: boolean }) {
   if (!shouldUpdate) return
 
   try {
-    if(ostype() === "windows") await invoke("kill_sidecar")
+    if (ostype() === "windows") await invoke("kill_sidecar")
     await update.install()
   } catch {
     await message("Failed to install update", { title: "Update Failed" })