fix(dictionary): complete Hachidori imports and mining integration

This commit is contained in:
2026-09-22 15:01:23 -07:00
parent 15c74ef502
commit ab5e50adac
44 changed files with 756 additions and 40 deletions
+1 -4
View File
@@ -108,10 +108,7 @@ export function loadLauncherDictionaryBackend(): DictionaryBackend {
}
export function hasLauncherExternalYomitanProfileConfig(): boolean {
const config = readLauncherMainConfigObject();
return (
config?.dictionaryBackend !== 'hachidori' && readExternalYomitanProfilePath(config) !== null
);
return readExternalYomitanProfilePath(readLauncherMainConfigObject()) !== null;
}
export function readPluginRuntimeConfig(logLevel: LogLevel): PluginRuntimeConfig {