-
-
Notifications
You must be signed in to change notification settings - Fork 431
Check for IDE update at startup #797
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
Conversation
arduino-ide-extension/src/browser/arduino-ide-frontend-module.ts
Outdated
Show resolved
Hide resolved
enum: ['latest', 'nightly', 'none'], | ||
default: 'none', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
none
means the IDE won't check for updates?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now the channel is hard-coded, but I'm about to make a change to make use of this setting to know which channel to use when checking for updates.
I think I'll change this code like this:
enum: ['latest', 'nightly', 'none'], | |
default: 'none', | |
enum: ['latest', 'nightly'], | |
default: 'latest', |
so that by default the user will check for the latest release. I'd remove none
because it doesn't make any sense to me. Do you agree?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that's perfect.
arduino-ide-extension/src/browser/dialogs/ide-updater/ide-updater-component.tsx
Outdated
Show resolved
Hide resolved
arduino-ide-extension/src/browser/dialogs/ide-updater/ide-updater-component.tsx
Outdated
Show resolved
Hide resolved
…-ide into check-update-startup
# Conflicts: # arduino-ide-extension/src/electron-main/theia/electron-main-application.ts
…-ide into check-update-startup
…te-startup # Conflicts: # browser-app/package.json # electron/build/template-package.json # electron/packager/config.js # yarn.lock
Suggested changes have all been resolved. I'll submit another review once the build is ready for testing.
This reverts commit 5ab3a74.
…te-startup # Conflicts: # arduino-ide-extension/src/node/grpc-client-provider.ts
we did some internal tests and seems to be working fine. Merging to proceed with tests on the nightly build |
Why
We want to let the user be informed when a newer version of the Arduino IDE is available, and if that is the case let them download and install it.
How
"skipIDEVersion"
) containing the last version they skipped