1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-01-24 23:13:45 +01:00
upscayl/electron/commands/open-folder.ts

10 lines
219 B
TypeScript
Raw Normal View History

2023-09-10 14:44:04 +05:30
import { shell } from "electron";
import logit from "../utils/logit";
const openFolder = async (event, payload) => {
logit("📂 Opening Folder: ", payload);
shell.openPath(payload);
};
export default openFolder;