INNER CODE UNIT · TypeScript
updateServiceFallback
BradGroux/veritas-kanban · desktop/src/main/index.ts:224
function updateServiceFallback(packaged: boolean): DesktopUpdateStatus {
const appInfo = createDesktopAppInfo(app.getVersion(), packaged);
return {
state: 'unsupported',
currentVersion: appInfo.version,
channel: appInfo.channel,
checkedAt: new Date().toISOString(),
detail: 'Updater service is not initialized.',
};
}
async function boot(): Promise<void> {
app.setName(DESKTOP_APP_NAME);
app.setAppUserModelId(DESKTOP_APP_ID);
const packaged = launchPackaged;
const appInfo = createDesktopAppInfo(app.getVersion(), packaged);
app.setAboutPanelOptions(createDesktopAboutPanelOptions(appInfo));