diff --git a/app/src/App.tsx b/app/src/App.tsx index d38c4109..d76f7655 100644 --- a/app/src/App.tsx +++ b/app/src/App.tsx @@ -10,7 +10,6 @@ import { UpdateStatus } from '@/components/ServerSettings/UpdateStatus'; import ShinyText from '@/components/ShinyText'; import { Sidebar } from '@/components/Sidebar'; import { TitleBarDragRegion } from '@/components/TitleBarDragRegion'; -import { UpdateNotification } from '@/components/UpdateNotification'; import { Toaster } from '@/components/ui/toaster'; import { ProfileList } from '@/components/VoiceProfiles/ProfileList'; import { useModelDownloadToast } from '@/lib/hooks/useModelDownloadToast'; @@ -175,8 +174,6 @@ function App() {
- - {activeTab === 'settings' ? (
diff --git a/app/src/components/UpdateNotification.tsx b/app/src/components/UpdateNotification.tsx deleted file mode 100644 index e7acea55..00000000 --- a/app/src/components/UpdateNotification.tsx +++ /dev/null @@ -1,69 +0,0 @@ -import { useAutoUpdater } from '../hooks/useAutoUpdater'; -import { Button } from './ui/button'; -import { Card } from './ui/card'; -import { Progress } from './ui/progress'; - -export function UpdateNotification() { - const { status, checkForUpdates, downloadAndInstall } = useAutoUpdater(true); - - if (status.error) { - return null; - } - - if (!status.available && !status.checking) { - return null; - } - - if (status.checking) { - return ( - -
-
- Checking for updates... -
- - ); - } - - if (status.available) { - return ( - -
-
-

Update Available

-

- Version {status.version} is ready to install -

-
- - {status.downloading && ( -
-

Downloading update...

- -
- )} - - {status.installing && ( -
-

Installing update...

-

App will restart automatically

-
- )} - - {!status.downloading && !status.installing && ( -
- - -
- )} -
-
- ); - } - - return null; -} diff --git a/tauri/src-tauri/gen/Assets.car b/tauri/src-tauri/gen/Assets.car index 59f2c58a..db1bac23 100644 Binary files a/tauri/src-tauri/gen/Assets.car and b/tauri/src-tauri/gen/Assets.car differ