mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
Merge branch 'feature/cloud-sync' into feature/game-achievements
This commit is contained in:
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);
|
||||
Reference in New Issue
Block a user