feat(macos): configuration window + curl-backed macOS updater (#71)

This commit is contained in:
2026-05-17 02:23:44 -07:00
committed by GitHub
parent 6ca5cede3e
commit e84674e3b5
100 changed files with 13890 additions and 235 deletions
+4 -3
View File
@@ -15,7 +15,7 @@ export interface JellyfinInvocation {
}
export interface CommandActionInvocation {
action: string;
action?: string;
logLevel?: string;
}
@@ -58,6 +58,7 @@ function applyRootOptions(program: Command): void {
.option('--start', 'Explicitly start overlay')
.option('--log-level <level>', 'Log level')
.option('-v, --version', 'Show SubMiner version')
.option('--config', 'Open configuration window')
.option('-u, --update', 'Check for updates')
.option('-R, --rofi', 'Use rofi picker')
.option('-S, --start-overlay', 'Auto-start overlay')
@@ -293,9 +294,9 @@ export function parseCliPrograms(
commandProgram
.command('config')
.description('Config helpers')
.argument('[action]', 'path|show', 'path')
.argument('[action]', 'path|show')
.option('--log-level <level>', 'Log level')
.action((action: string, options: Record<string, unknown>) => {
.action((action: string | undefined, options: Record<string, unknown>) => {
configInvocation = {
action,
logLevel: typeof options.logLevel === 'string' ? options.logLevel : undefined,