Feat/custom hotkeys (#496)

* feat: 2024-04-07 15:27:52 - custom hotkeys

* feat: 2024-04-07 15:52:13 - add custome compare shortcuts

* feat: 2024-04-09 10:17:23 - Modify the code according to the code review suggestions and optimize the experience.

---------

Co-authored-by: more.tai <more.tai@huolala.cn>
This commit is contained in:
slarkvan
2024-04-09 14:52:51 +08:00
committed by GitHub
parent 0a6be17f04
commit 5b87d218ac
13 changed files with 521 additions and 64 deletions

View File

@@ -104,6 +104,8 @@ type EnjoyAppType = {
) => Promise<void>;
getLanguage: () => Promise<string>;
switchLanguage: (language: string) => Promise<void>;
getDefaultHotkeys: () => Promise<Record<string, string> | undefined>;
setDefaultHotkeys: (records: Record<string, string>) => Promise<void>;
};
fs: {
ensureDir: (path: string) => Promise<boolean>;