mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
ci: testing cloudfront deployment
This commit is contained in:
parent
af8468066a
commit
e86daacad4
1 changed files with 11 additions and 0 deletions
11
src/main/events/misc/show-item-in-folder.ts
Normal file
11
src/main/events/misc/show-item-in-folder.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { shell } from "electron";
|
||||
import { registerEvent } from "../register-event";
|
||||
|
||||
const showItemInFolder = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
filePath: string
|
||||
) => {
|
||||
return shell.showItemInFolder(filePath);
|
||||
};
|
||||
|
||||
registerEvent("showItemInFolder", showItemInFolder);
|
Loading…
Add table
Reference in a new issue