[Update] Add updating display.

This commit is contained in:
Sakamoto Shiina
2024-12-06 13:07:00 +09:00
parent a55e1dd59f
commit 043208f58f
7 changed files with 102 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ export { useIsBackendReady } from "./useIsBackendReady";
export { useWindow } from "./useWindow";
export { useIsOpenedConfigPage } from "./useIsOpenedConfigPage";
export { useIsSoftwareUpdateAvailable } from "./useIsSoftwareUpdateAvailable";
export { useIsSoftwareUpdating } from "./useIsSoftwareUpdating";
export { useOpenFolder } from "./useOpenFolder";
export { useMessage } from "./useMessage";
export { useUpdateSoftware } from "./useUpdateSoftware";

View File

@@ -0,0 +1,10 @@
import { useStore_IsSoftwareUpdating } from "@store";
export const useIsSoftwareUpdating = () => {
const { currentIsSoftwareUpdating, updateIsSoftwareUpdating } = useStore_IsSoftwareUpdating();
return {
currentIsSoftwareUpdating,
updateIsSoftwareUpdating,
};
};