Skip to content

Updates are good and good for you - #537

Merged
shiftkey merged 23 commits into
masterfrom
updates-are-good-and-good-for-you
Oct 18, 2016
Merged

shiftkey merged 23 commits into
masterfrom
updates-are-good-and-good-for-you

Conversation

@joshaber

@joshaber joshaber commented Oct 14, 2016 •

Copy link
Copy Markdown
Contributor

Fixes #379

This also adds a menu item similar to Atom and VS Code that you can use to check for updates and which reflects the current state of updates.

@joshaber joshaber changed the title [WIP] Updates are good and good for you Updates are good and good for you Oct 17, 2016
@joshaber

Copy link
Copy Markdown
Contributor Author

This is ready 🙏

Comment thread app/src/ui/app.tsx Outdated
import { MenuIDs } from '../main-process/menu'

/** The interval at which we should check for updates. */
const UpdateCheckInterval = 1000 * 60 * 4

This comment was marked as spam.

This comment was marked as spam.

Comment thread app/src/ui/app.tsx Outdated
if (!dotComUsers.length) { return }

const dotComUser = dotComUsers[0]
updateStore.checkForUpdates(dotComUser ? dotComUser.login : '')

This comment was marked as spam.

This comment was marked as spam.

autoUpdater.on('update-downloaded', this.onUpdateDownloaded)

// This seems to prevent tests from cleanly exiting on Appveyor (see
// https://ci.appveyor.com/project/github-windows/desktop/build/1466). So

This comment was marked as spam.

This comment was marked as spam.

Comment thread app/src/ui/app.tsx Outdated
this.props.dispatcher.postError(error)
})

setInterval(() => this.checkForUpdates, UpdateCheckInterval)

This comment was marked as spam.

This comment was marked as spam.

@joshaber

Copy link
Copy Markdown
Contributor Author

🍠

@shiftkey

Copy link
Copy Markdown
Member

🕹

@shiftkey
shiftkey merged commit 5efc7d4 into master Oct 18, 2016
@shiftkey
shiftkey deleted the updates-are-good-and-good-for-you branch October 18, 2016 23:34
mijiang168 pushed a commit to mijiang168/desktop that referenced this pull request Apr 22, 2022
mijiang168 pushed a commit to mijiang168/desktop that referenced this pull request Apr 22, 2022
yasuking0304 pushed a commit to yasuking0304/desktop that referenced this pull request Jan 22, 2023
yasuking0304 pushed a commit to yasuking0304/desktop that referenced this pull request Jan 22, 2023
yasuking0304 pushed a commit to yasuking0304/desktop that referenced this pull request Mar 9, 2023
yasuking0304 pushed a commit to yasuking0304/desktop that referenced this pull request Mar 9, 2023
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.

2 participants