Skip to content
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

Missing app-update.yml, why is this file mandatory ? #4975

Closed
adriencohen opened this issue May 15, 2020 · 4 comments
Closed

Missing app-update.yml, why is this file mandatory ? #4975

adriencohen opened this issue May 15, 2020 · 4 comments
Labels

Comments

@adriencohen
Copy link

Hello,

We have multiple users who have issues of with the auto update due to the app-update.yml gone missing and they end up with:

ENOENT: no such file or directory, open 'C:\Users\Username\AppData\Local\Programs\electron-app-here\resources\app-update.yml'

I checked the installers, they are all writing this file without any issues on my computer. We migth have found how the file is getting deleted and it would not be related to electron-builder.

However, I was wondering why is this file so important ? In our app we already use autoUpdater.setFeedUrl() so from what I see in app-update.yml the updater is only missing the updaterCacheDirName. Which lead me to wondering why we can't set it with autoUpdater and bypass completely the need to read app-update.yml.

@adam-lynch
Copy link
Contributor

I ran into this today while migrating an app from Squirrel to NSIS. I was manually setting the feed URL but I still had to create the app-update.yml file (in the Squirrel app) because of this error

@stale
Copy link

stale bot commented Sep 4, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label Sep 4, 2020
@stale stale bot closed this as completed Sep 11, 2020
@abenoit-reeliant
Copy link

If anyone has any insight on this issue, I'm still interested in an answer. I feel like this file should not be mandatory if the required information is provided by the application on runtime.

@mhosken
Copy link

mhosken commented Nov 1, 2021

Or perhaps if the information is missing, don't bother trying to auto update? I too have fallen foul of this and it makes it impossible to use the app. This is a breaking bug since it makes it impossible for a normal user to get past it and actually run the app. OOI how does one work around this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants