Closed kurohoan closed 1 year ago
In order to identify the error, checkForUpdatesAndNotify() is also run on electron:serve in the following code.
Object.defineProperty(app, 'isPackaged', {
get() {
return true;
}
});
As a result, the following error is displayed.
Error: Error: ENOENT: no such file or directory, open 'C:\Users***\node_modules\electron\dist\resources\app-update.yml'
What could cause this?
C:\Users***\node_modules\electron\dist\resources\app-update.yml
In fact, no files exist in the above location.
https://github.com/nklayman/vue-cli-plugin-electron-builder/blob/master/docs/guide/recipes.md
The same description is based on the above manual. The build itself is successful, the latest version is released from github, but there is no update notification when the older version is launched.
By the way, it is a private repository. In the meantime, I also tried the following report, but the symptoms did not change. https://github.com/nklayman/vue-cli-plugin-electron-builder/issues/1103
Is there any way to identify the error?