Files
VRCT/src-ui/logics/common/useOpenFolder.js
2024-10-17 01:58:49 +09:00

17 lines
479 B
JavaScript

import { useStdoutToPython } from "@logics/useStdoutToPython";
export const useOpenFolder = () => {
const { asyncStdoutToPython } = useStdoutToPython();
const openFolder_MessageLogs = () => {
asyncStdoutToPython("/run/open_filepath_logs");
};
const openFolder_ConfigFile = () => {
asyncStdoutToPython("/run/open_filepath_config_file");
};
return {
openFolder_MessageLogs,
openFolder_ConfigFile,
};
};