mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-17 16:24:16 +08:00
✨ 支持新API:getCopyFiles simulateKeyboardTap
This commit is contained in:
@@ -162,8 +162,16 @@ window.rubick = {
|
||||
shellBeep: () => {
|
||||
ipcSend('shellBeep');
|
||||
},
|
||||
|
||||
|
||||
getFileIcon: (path) => {
|
||||
return ipcSendSync('getFileIcon', { path });
|
||||
},
|
||||
|
||||
getCopyedFiles: () => {
|
||||
return ipcSendSync('getCopyFiles');
|
||||
},
|
||||
|
||||
simulateKeyboardTap: (key, ...modifier) => {
|
||||
ipcSend('simulateKeyboardTap', { key, modifier });
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user