File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
arduino-ide-extension/src
electron-main/ide-updater Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 77} from '../../common/protocol/ide-updater' ;
88import { IDEUpdaterDialog } from '../dialogs/ide-updater/ide-updater-dialog' ;
99import { Contribution } from './contribution' ;
10+ import { VersionWelcomeDialog } from '../dialogs/version-welcome-dialog' ;
1011
1112@injectable ( )
1213export class CheckForIDEUpdates extends Contribution {
@@ -16,6 +17,9 @@ export class CheckForIDEUpdates extends Contribution {
1617 @inject ( IDEUpdaterDialog )
1718 private readonly updaterDialog : IDEUpdaterDialog ;
1819
20+ @inject ( VersionWelcomeDialog )
21+ private readonly welcomeDialog : VersionWelcomeDialog ;
22+
1923 @inject ( LocalStorageService )
2024 private readonly localStorage : LocalStorageService ;
2125
@@ -49,6 +53,7 @@ export class CheckForIDEUpdates extends Contribution {
4953 return this . updater . checkForUpdates ( true ) ;
5054 } )
5155 . then ( async ( updateInfo ) => {
56+ this . welcomeDialog . open ( ) ;
5257 if ( ! updateInfo ) return ;
5358 const versionToSkip = await this . localStorage . getData < string > (
5459 SKIP_IDE_VERSION
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export class IDEUpdaterImpl implements IDEUpdater {
6262 await this . updater . checkForUpdates ( ) ;
6363
6464 this . cancellationToken = cancellationToken ;
65- if ( this . updater . currentVersion . compare ( updateInfo . version ) === - 1 ) {
65+ if ( true ) {
6666 /*
6767 'latest.txt' points to the latest changelog that has been generated by the CI,
6868 so we need to make a first GET request to get the filename of the changelog
You can’t perform that action at this time.
0 commit comments