diff --git a/release/app/package-lock.json b/release/app/package-lock.json index 8cdc68e..b8fcba6 100644 --- a/release/app/package-lock.json +++ b/release/app/package-lock.json @@ -1,12 +1,12 @@ { "name": "syntharium-installer-launcher", - "version": "0.0.6", + "version": "0.0.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "syntharium-installer-launcher", - "version": "0.0.6", + "version": "0.0.7", "hasInstallScript": true, "license": "MIT" } diff --git a/release/app/package.json b/release/app/package.json index 6106eaa..64de49f 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,6 +1,6 @@ { "name": "syntharium-installer-launcher", - "version": "0.0.6", + "version": "0.0.7", "description": "An installer application for TUMFARSynchrony syntharium project.", "license": "MIT", "author": { diff --git a/src/main/main.ts b/src/main/main.ts index b800919..c98108e 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -166,6 +166,7 @@ autoUpdater.on('update-downloaded', (info) => { sendStatusToWindow( 'Update downloaded. Please quit from application and launch again.', ); + autoUpdater.quitAndInstall() }); app.on('window-all-closed', () => { diff --git a/src/renderer/components/Footer.tsx b/src/renderer/components/Footer.tsx index 912b2c8..f19b61c 100644 --- a/src/renderer/components/Footer.tsx +++ b/src/renderer/components/Footer.tsx @@ -2,7 +2,7 @@ function Footer() { return (
- Version 0.0.6 + Version 0.0.7
TUMFarSynchrony diff --git a/src/renderer/pages/Installer.tsx b/src/renderer/pages/Installer.tsx index 4210e06..da0b050 100644 --- a/src/renderer/pages/Installer.tsx +++ b/src/renderer/pages/Installer.tsx @@ -260,7 +260,7 @@ function Installer() { setIsPageLoading(false); }); // eslint-disable-next-line react-hooks/exhaustive-deps - }, [updateAvailable, autoUpdateLogs]); + }, []); if (updateAvailable) { return (