feat: add auto update support

This commit is contained in:
2026-05-15 01:47:56 -07:00
parent d1ec678d7a
commit 094bcce0dc
101 changed files with 4978 additions and 163 deletions
+12
View File
@@ -75,6 +75,16 @@ export interface StartupWarmupsConfig {
jellyfinRemoteSession?: boolean;
}
export type UpdateNotificationType = 'system' | 'osd' | 'both' | 'none';
export type UpdateChannel = 'stable' | 'prerelease';
export interface UpdatesConfig {
enabled?: boolean;
checkIntervalHours?: number;
notificationType?: UpdateNotificationType;
channel?: UpdateChannel;
}
export interface ShortcutsConfig {
toggleVisibleOverlayGlobal?: string | null;
copySubtitle?: string | null;
@@ -122,6 +132,7 @@ export interface Config {
youtubeSubgen?: YoutubeSubgenConfig;
immersionTracking?: ImmersionTrackingConfig;
stats?: StatsConfig;
updates?: UpdatesConfig;
logging?: {
level?: 'debug' | 'info' | 'warn' | 'error';
};
@@ -346,6 +357,7 @@ export interface ResolvedConfig {
autoStartServer: boolean;
autoOpenBrowser: boolean;
};
updates: Required<UpdatesConfig>;
logging: {
level: 'debug' | 'info' | 'warn' | 'error';
};