Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for updates banner is annoying when using a third-party distribution that lags behind releases #1229

Open
KristerV opened this issue Nov 12, 2018 · 6 comments

Comments

Projects
None yet
7 participants
@KristerV
Copy link

commented Nov 12, 2018

Are there any related issues? no
What operating system are you using? Arch Linux
Feature Request?

I would like to either disable checking for updates or just hide the notification.

image

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.

@bengotow

This comment has been minimized.

Copy link
Collaborator

commented Nov 22, 2018

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!

@bengotow bengotow added the linux label Nov 22, 2018

@bengotow bengotow changed the title Disable 'check for updates' Check for updates banner is annoying when using a third-party distribution that lags behind releases Nov 22, 2018

@zaen323

This comment has been minimized.

Copy link

commented Feb 27, 2019

Having the same annoyance, I would really just like an option in the settings menu to disable the banner. Or an "x" button to hide the banner for a period of time, although not ideal.

@nelai1

This comment has been minimized.

Copy link

commented Mar 15, 2019

using the snap on ubuntu, still seeing this annoying banner

@jnylen

This comment has been minimized.

Copy link

commented Mar 18, 2019

@bengotow Hi,
I'm the one that created the aur repo in the beginning and are collabing on it again.

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.

@marxistvegan

This comment has been minimized.

Copy link

commented Mar 19, 2019

Same issue in the Solus Project (https://getsol.us) the notification is very annoying and will get updated on a weekly basis so being able to turn off that notification would be greatly appreciated.

@friday

This comment has been minimized.

Copy link

commented Mar 20, 2019

I found a hacky way to disable it, which requires asar:

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 app.asar since the original build step excludes some patterns. If someone is ambitious enough, it should be possible to ignore these form the cli too, or possibly rebuild only this with gulp. 😕

...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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.