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

Use same hazel endpoint to notify update to Linux users #2497

Merged
merged 2 commits into from
Nov 29, 2017

Conversation

chabou
Copy link
Collaborator

@chabou chabou commented Nov 27, 2017

Fixes #2476

This PR implements a pseudo auto-updater-linux. It fetches the same URL and trigger same events. All data related to the available release (name, note, date etc...), are passed to update-available event instead of update-downloaded.
Internal updater use Electron autoUpdater or this one on Linux.

app/updater.js Outdated

const {platform} = process;
const isLinux = true; //platform === 'linux';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fixed? 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed...... Sorry for that

Copy link
Contributor

@albinekb albinekb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks 👍 I have not tested on linux though.

@chabou chabou merged commit 1fbc857 into vercel:canary Nov 29, 2017
chabou added a commit to chabou/hyper-news that referenced this pull request May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants