diff --git a/app/components/UpdateAlert/UpdateAlert.tsx b/app/components/UpdateAlert/UpdateAlert.tsx index 6f90f1b..14bb2b1 100644 --- a/app/components/UpdateAlert/UpdateAlert.tsx +++ b/app/components/UpdateAlert/UpdateAlert.tsx @@ -20,7 +20,8 @@ export function UpdateAlert(props : UpdateAlertProps) { updateStatus, downloadLastApplicationUpdate, restartAppForUpdateApply, - checkForUpdates + checkForUpdates, + updateServer } = useUpdater(); useEffect(() => { @@ -34,7 +35,7 @@ export function UpdateAlert(props : UpdateAlertProps) { diff --git a/app/providers/UpdateProvider/UpdateProvider.tsx b/app/providers/UpdateProvider/UpdateProvider.tsx index 3438c26..c9b97d6 100644 --- a/app/providers/UpdateProvider/UpdateProvider.tsx +++ b/app/providers/UpdateProvider/UpdateProvider.tsx @@ -39,6 +39,7 @@ export interface UpdateContextValue { checkForUpdates: () => void; downloadLastApplicationUpdate: () => void; restartAppForUpdateApply: () => void; + updateServer: string | null; } export const UpdateProviderContext = createContext(null); @@ -167,7 +168,8 @@ export function UpdateProvider(props: UpdateProviderProps) { kernelUpdateUrl, checkForUpdates, downloadLastApplicationUpdate, - restartAppForUpdateApply + restartAppForUpdateApply, + updateServer: updateServerRef.current }}> {props.children} diff --git a/app/version.ts b/app/version.ts index 95ebf02..e7b1210 100644 --- a/app/version.ts +++ b/app/version.ts @@ -1,11 +1,7 @@ -export const APP_VERSION = "1.0.2"; +export const APP_VERSION = "1.0.3"; export const CORE_MIN_REQUIRED_VERSION = "1.4.9"; export const RELEASE_NOTICE = ` -**Update v1.0.2** :emoji_1f631: -- Support multiple file downloads -- Fix fallback after boot loading -- Fix corss-chat reading messages -- Support sync attachments on other devices -- Fix UI bugs +**Update v1.0.3** :emoji_1f631: +- Fix kernel update alert `; \ No newline at end of file