@@ -30,7 +30,8 @@ export default class AutoUpdateManager extends EventEmitter {
30
30
31
31
this . updateFeedURL ( ) ;
32
32
33
- setTimeout ( ( ) => this . setupAutoUpdater ( ) , 0 ) ;
33
+ this . setState ( NoUpdateAvailableState ) ; // TODO: Remove to re-enable
34
+ // setTimeout(() => this.setupAutoUpdater(), 0); // TODO: Uncomment to re-enable
34
35
}
35
36
36
37
parameters = ( ) => {
@@ -59,6 +60,7 @@ export default class AutoUpdateManager extends EventEmitter {
59
60
}
60
61
61
62
updateFeedURL = ( ) => {
63
+ return ; // TODO: Remove to re-enable
62
64
const params = this . parameters ( ) ;
63
65
64
66
let host = `edgehill.nylas.com` ;
@@ -80,6 +82,7 @@ export default class AutoUpdateManager extends EventEmitter {
80
82
}
81
83
82
84
setupAutoUpdater ( ) {
85
+ return ; // TODO: Remove to re-enable
83
86
if ( process . platform === 'win32' ) {
84
87
autoUpdater = require ( './windows-updater-squirrel-adapter' ) ;
85
88
} else if ( process . platform === 'linux' ) {
@@ -130,6 +133,7 @@ export default class AutoUpdateManager extends EventEmitter {
130
133
}
131
134
132
135
emitUpdateAvailableEvent ( ) {
136
+ return ; // TODO: Remove to re-enable
133
137
if ( ! this . releaseVersion ) {
134
138
return ;
135
139
}
@@ -152,6 +156,7 @@ export default class AutoUpdateManager extends EventEmitter {
152
156
}
153
157
154
158
check ( { hidePopups} = { } ) {
159
+ return ; // TODO: Remove to re-enable
155
160
this . updateFeedURL ( ) ;
156
161
if ( ! hidePopups ) {
157
162
autoUpdater . once ( 'update-not-available' , this . onUpdateNotAvailable ) ;
@@ -168,6 +173,7 @@ export default class AutoUpdateManager extends EventEmitter {
168
173
}
169
174
170
175
install ( ) {
176
+ return ; // TODO: Remove to re-enable
171
177
if ( process . platform === "win32" ) {
172
178
// On windows the update has already been "installed" and shortcuts
173
179
// already updated. You just need to restart the app to load the new
0 commit comments