You've already forked AstralRinth
forked from didirus/AstralRinth
Remove successful update notif, is unnecessary and a bit broken (#4487)
This commit is contained in:
@@ -279,16 +279,6 @@ async function setupApp() {
|
|||||||
const settings = await getSettings()
|
const settings = await getSettings()
|
||||||
settings.pending_update_toast_for_version = null
|
settings.pending_update_toast_for_version = null
|
||||||
await setSettings(settings)
|
await setSettings(settings)
|
||||||
|
|
||||||
const version = await getVersion()
|
|
||||||
if (pending_update_toast_for_version === version) {
|
|
||||||
addNotification({
|
|
||||||
type: 'success',
|
|
||||||
title: formatMessage(messages.updateInstalledToastTitle, { version }),
|
|
||||||
text: formatMessage(messages.updateInstalledToastText),
|
|
||||||
clickAction: () => openUrl('https://modrinth.com/news/changelog?filter=app'),
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (osType === 'windows') {
|
if (osType === 'windows') {
|
||||||
|
|||||||
Reference in New Issue
Block a user