Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
/**
* Default Updater Service - Generic implementation with minimal returns
*/
import type { UpdaterService, UpdateInfo, UpdateProgressEvent } from './types'
export class DefaultUpdaterService implements UpdaterService {
async check(): Promise<UpdateInfo | null> {
return null
}
async installAndRestart(): Promise<void> {
// No-op
}
async downloadAndInstallWithProgress(
progressCallback: (event: UpdateProgressEvent) => void
): Promise<void> {
console.log('downloadAndInstallWithProgress called with callback:', typeof progressCallback)
// No-op for non-Tauri platforms
}
}