mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-01 06:22:44 -08:00
refactor(core): normalize service naming across app runtime
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
export { generateDefaultConfigFile } from "./config-gen";
|
||||
export { enforceUnsupportedWaylandMode, forceX11Backend } from "./electron-backend";
|
||||
export {
|
||||
enforceUnsupportedWaylandMode,
|
||||
forceX11Backend,
|
||||
} from "./electron-backend";
|
||||
export { asBoolean, asFiniteNumber, asString } from "./coerce";
|
||||
export { resolveKeybindings } from "./keybindings";
|
||||
export { resolveConfiguredShortcuts } from "./shortcut-config";
|
||||
|
||||
@@ -55,7 +55,8 @@ export function resolveConfiguredShortcuts(
|
||||
defaultConfig.shortcuts?.triggerFieldGrouping,
|
||||
),
|
||||
triggerSubsync: normalizeShortcut(
|
||||
config.shortcuts?.triggerSubsync ?? defaultConfig.shortcuts?.triggerSubsync,
|
||||
config.shortcuts?.triggerSubsync ??
|
||||
defaultConfig.shortcuts?.triggerSubsync,
|
||||
),
|
||||
mineSentence: normalizeShortcut(
|
||||
config.shortcuts?.mineSentence ?? defaultConfig.shortcuts?.mineSentence,
|
||||
|
||||
Reference in New Issue
Block a user