File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ Head to [Releases](https://github.com/Dobrunia/moco/releases) and grab the lates
5757| Windows | ` moco_x.x.x_x64-setup.exe ` |
5858| macOS | ` moco_x.x.x_aarch64.dmg ` |
5959
60+ > ** macOS:** If you see * "moco.app is damaged and can't be opened"* , run in Terminal:
61+ >
62+ > ``` bash
63+ > xattr -cr /Applications/moco.app
64+ > ` ` `
65+ >
66+ > This removes the quarantine flag added by macOS for unsigned apps.
67+
6068# # Keyboard Shortcuts
6169
6270| Shortcut | Action |
Original file line number Diff line number Diff line change 11{
22 "name" : " moco-editor" ,
33 "private" : true ,
4- "version" : " 0.2.5 " ,
4+ "version" : " 0.2.6 " ,
55 "type" : " module" ,
66 "scripts" : {
77 "dev" : " tauri dev" ,
Original file line number Diff line number Diff line change @@ -15,35 +15,34 @@ export function useKeyboard(actions: KeyboardActions) {
1515 const mod = e . ctrlKey || e . metaKey
1616 if ( ! mod ) return
1717
18- if ( e . altKey && e . key === 'f ' ) {
18+ if ( e . altKey && e . code === 'KeyF ' ) {
1919 e . preventDefault ( )
2020 actions . format ( )
2121 return
2222 }
2323
24- switch ( e . key ) {
25- case 's ' :
24+ switch ( e . code ) {
25+ case 'KeyS ' :
2626 e . preventDefault ( )
2727 actions . save ( )
2828 break
29- case 'o ' :
29+ case 'KeyO ' :
3030 e . preventDefault ( )
3131 actions . open ( )
3232 break
33- case 'n ' :
33+ case 'KeyN ' :
3434 e . preventDefault ( )
3535 actions . new ( )
3636 break
37- case '=' :
38- case '+' :
37+ case 'Equal' :
3938 e . preventDefault ( )
4039 actions . zoomIn ( )
4140 break
42- case '- ' :
41+ case 'Minus ' :
4342 e . preventDefault ( )
4443 actions . zoomOut ( )
4544 break
46- case '0 ' :
45+ case 'Digit0 ' :
4746 e . preventDefault ( )
4847 actions . zoomReset ( )
4948 break
You can’t perform that action at this time.
0 commit comments