Files
VRCT/src-ui/logics/common/useUpdateSoftware.js
2024-11-30 20:41:53 +09:00

12 lines
315 B
JavaScript

import { useStdoutToPython } from "@logics/useStdoutToPython";
export const useUpdateSoftware = () => {
const { asyncStdoutToPython } = useStdoutToPython();
const updateSoftware = () => {
asyncStdoutToPython("/run/update_software");
};
return {
updateSoftware,
};
};