-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: don't let un-updateable builds check for an update #1808
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
Changes from all commits
d1ffddb
6d616d4
6763cb6
802d85f
5d34235
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
macroscopeapp[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,11 @@ export function getAutoUpdateDisabledReason(args: { | |
| platform: NodeJS.Platform; | ||
| appImage?: string | undefined; | ||
| disabledByEnv: boolean; | ||
| hasUpdateFeedConfig: boolean; | ||
| }): string | null { | ||
| if (!args.hasUpdateFeedConfig) { | ||
| return "Automatic updates are not available because no update feed is configured."; | ||
| } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Feed URL check precedes more fundamental dev/packaged checksMedium Severity The Reviewed by Cursor Bugbot for commit 6763cb6. Configure here. |
||
| if (args.isDevelopment || !args.isPackaged) { | ||
| return "Automatic updates are only available in packaged production builds."; | ||
| } | ||
|
|
||


Uh oh!
There was an error while loading. Please reload this page.