[READ-ONLY] Mirror of https://github.com/probablykasper/ferrum. Music library app for Mac, Linux and Windows ferrum.kasper.space
electron linux macos music music-library music-player napi windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Disable update checking in dev

Kasper (Oct 7, 2024, 12:36 PM +0200) 365b3fc7 d33198c9

+2 -1
+2 -1
src/components/CheckForUpdates.svelte
··· 2 2 import { ipc_renderer } from '@/lib/window' 3 3 import Modal from './Modal.svelte' 4 4 import Button from './Button.svelte' 5 + import { is_dev } from '@/lib/data' 5 6 6 7 let latest_update: Awaited<ReturnType<typeof check>> | null = null 7 8 8 9 check() 9 10 async function check() { 10 - if (!window.navigator.onLine) { 11 + if (is_dev || !window.navigator.onLine) { 11 12 return 12 13 } 13 14 const result = await ipc_renderer.invoke('check_for_updates')