-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
checkForUpdates() with dev-app-update.yml returns null result instead of expected object #6863
Comments
Additionally I see this in my logs, despite never actually calling
|
I also get function isDev() {
return !app.isPackaged;
};
if (isDev()) {
autoUpdater.checkForUpdates();
}; doesn't change a thing. Currently on |
Looks like I tested originally with version @develar any thoughts on this? |
Yes, I see that behavior specified here: electron-builder/packages/electron-updater/src/AppUpdater.ts Lines 252 to 255 in db07548
I wasn't aware that previously it could still be used locally without packaging the app. The Not sure what we should do. Seems like the warning log message needs to be updated, and it seems reasonable that we allow |
@mmaietta thanks very much for digging in to find the source of the issue. Have you had a chance to consider possible resolutions any further? |
Any update on this? |
My bad, I honestly forgot about this one. electron-builder/packages/electron-updater/src/ElectronAppAdapter.ts Lines 23 to 25 in dd29013
I'm wondering if it's better to add a property to the Updater such as
Otherwise, both What are your thoughts |
Thanks very much for the update @mmaietta! I'm maybe not the best judge of solutions since I'm not all that familiar with the rest of the code, but I think what you've laid out makes sense. My only thought is, would it possibly make more sense to have something like Again though, I'm rather oblivious to the code outside of what you've shared. |
We have a code like below and I've confirmed the path is correct and that the
dev-app-update.yml
points to our S3 bucket, but theupdateCheckResult
is alwaysnull
. Shouldn't we be receiving the properversionInfo
andupdateInfo
in an object?I've already confirmed that the updater works outside of DEV, so why
null
result in DEV? This did not used to be the behavior but I don't know when it changed. We haven't touched our code or changed our update bucket path in ages.The text was updated successfully, but these errors were encountered: