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 #158

Open
wheelercj opened this issue Nov 16, 2024 · 1 comment
Open

Check for updates #158

wheelercj opened this issue Nov 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wheelercj
Copy link
Collaborator

When Stardown is installed with Git or a zip file, users are not notified when updates are available. (They can turn on notifications for releases in the GitHub repository, but many won't want to.)

Stardown should have an option to check for updates once per day if installed with Git or zip.

const info = browser.management.getSelf();

if (info.installType === 'development') {
    // check for updates once per day if enabled
}
@wheelercj wheelercj added the enhancement New feature or request label Nov 16, 2024
@wheelercj
Copy link
Collaborator Author

wheelercj commented Nov 25, 2024

AMO is short for addons.mozilla.org, the Firefox extension store.

When an add-on is listed on AMO, Firefox automatically updates installed copies when a new version is listed on AMO. To enable Firefox to automatically update self-distributed add-ons, you need to include the URL where Firefox can find updates in the add-on manifest's update_url key. If the add-on does not have an update URL to check, Firefox will check AMO for a listed update. If a listed update with a higher version number is available, Firefox will distribute that version to users who have installed the self-distributed file.

Distributing an add-on yourself | Firefox Extension Workshop

I'm not sure we should use the update_url property because users that install without using AMO might not want automatic updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant