mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Fix autoUpdater showChangelog condition
This commit is contained in:
@@ -34,13 +34,14 @@ export default function App() {
|
||||
const config = useService(ConfigurationService);
|
||||
const autoUpdater = useService(AutoUpdaterService);
|
||||
|
||||
|
||||
const location = useLocation();
|
||||
const navigate = useNavigate();
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
autoUpdater.showChangelog();
|
||||
lastValueFrom(autoUpdater.getAppVersion()).then(version => {
|
||||
if(autoUpdater.isChangelogAvailable && autoUpdater.getLastVersion() === version) {autoUpdater.showChangelog()}
|
||||
});
|
||||
checkOneClicks();
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user