Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Check for updates banner is annoying when using a third-party distribution that lags behind releases #1229
Are there any related issues? no
I would like to either disable checking for updates or just hide the notification.
I'm on Arch Linux and the AUR repo is kept up to date pretty well. I am not going to download the app manually and I don't want to update my computer every time MailSpring says so. I have a once-a-month update schedule.
This notification hides needed info and it's color takes my attention away - super annoying and not useful.
Hey! Sorry for the delay—please use the Snapcraft release if you can! It autoupdates and doesn't display the notifications. It's great someone is maintaining an AUR repo but it's not us. I'll see if maybe we can take it over or publish an official AUR package in the future!
Is there a safe way to disable the update notification? Such as setting the updateAvailable = false in the update-notification file? Just making sure.
Do mind we use the .deb file in the AUR repo.
I found a hacky way to disable it, which requires
From the path app.asar is in:
asar extract app.asar app sed -i 's/updater.getState()/0/g' app/internal_packages/notifications/lib/items/update-notification.js asar pack app app.asar rm -rf app
I'm not sure it's safe, but it worked for me. The result will be larger than the original
...or better yet, officially support disabling the banner so we don't have to.
Addition: Hijacking the update url seems to work too:
echo -e '\n127.0.0.1 updates.getmailspring.com' | sudo tee -a /etc/hosts