mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 06:22:45 -08:00
Fix child-process arg warning
This commit is contained in:
@@ -239,6 +239,9 @@ export const DEFAULT_CONFIG: ResolvedConfig = {
|
||||
invisibleOverlay: {
|
||||
startupVisibility: "platform-default",
|
||||
},
|
||||
immersionTracking: {
|
||||
enabled: true,
|
||||
},
|
||||
};
|
||||
|
||||
export const DEFAULT_ANKI_CONNECT_CONFIG = DEFAULT_CONFIG.ankiConnect;
|
||||
@@ -509,6 +512,19 @@ export const CONFIG_OPTION_REGISTRY: ConfigOptionRegistryEntry[] = [
|
||||
description:
|
||||
"Comma-separated primary subtitle language priority used by the launcher.",
|
||||
},
|
||||
{
|
||||
path: "immersionTracking.enabled",
|
||||
kind: "boolean",
|
||||
defaultValue: DEFAULT_CONFIG.immersionTracking.enabled,
|
||||
description: "Enable immersion tracking for mined subtitle metadata.",
|
||||
},
|
||||
{
|
||||
path: "immersionTracking.dbPath",
|
||||
kind: "string",
|
||||
defaultValue: DEFAULT_CONFIG.immersionTracking.dbPath,
|
||||
description:
|
||||
"Optional SQLite database path for immersion tracking. Empty value uses the default app data path.",
|
||||
},
|
||||
];
|
||||
|
||||
export const CONFIG_TEMPLATE_SECTIONS: ConfigTemplateSection[] = [
|
||||
@@ -621,6 +637,14 @@ export const CONFIG_TEMPLATE_SECTIONS: ConfigTemplateSection[] = [
|
||||
description: ["Anilist API credentials and update behavior."],
|
||||
key: "anilist",
|
||||
},
|
||||
{
|
||||
title: "Immersion Tracking",
|
||||
description: [
|
||||
"Enable/disable immersion tracking.",
|
||||
"Set dbPath to override the default sqlite database location.",
|
||||
],
|
||||
key: "immersionTracking",
|
||||
},
|
||||
];
|
||||
|
||||
export function deepCloneConfig(config: ResolvedConfig): ResolvedConfig {
|
||||
|
||||
Reference in New Issue
Block a user