latest.yml not created
See original GitHub issue- electron-builder version: 19.7.1
- electron-updater version: 1.16.0
- Target: x64 windows NSIS (using the docker container)
After building several times, each time increasing the app version number, my dist/
folder looks like this:
$ ll dist/
total 232M
-rw-r--r-- 1 root root 44M Jun 21 14:56 infinity-vault Setup 1.0.0.exe
-rw-r--r-- 1 root root 88M Jun 21 15:01 infinity-vault Setup 1.0.1.exe
-rw-r--r-- 1 root root 101M Jun 21 15:41 infinity-vault Setup 1.0.2.exe
drwxr-xr-x 4 root root 4.0K Jun 21 15:39 win-unpacked/
Notice, there is no latest.yml
. I just upgraded to 19.7.1 today, and earlier today I was getting the latest.yml
. There is also no app-update.yml
in the win-upacked/resources
folder.
I find it strange that each of the installer files is larger than the previous one.
My build config:
"use strict";
const builder = require("electron-builder");
const Platform = builder.Platform;
let t_linux = Platform.LINUX.createTarget();
let t_windows = Platform.WINDOWS.createTarget();
let win_config = {
appId: 'com.testapp.sr',
productName: 'InfinityVault',
artifactName: "${productName}-Setup-${version}.${ext}",
win: { target: ['nsis'] },
nsis: { artifactName: "${productName}-Setup-${version}.${ext}" } };
let linux_config = { appId: 'com.testapp.sr',
productName: 'infinityvault',
linux: { target: 'deb' } };
let app_config = {
targets: t_windows,
config: win_config,
artifactName: "${productName}_Setup_${version}.${ext}",
publish: [{ provider: "generic", url: "http://10.1.10.187:8080/" }]
};
builder.build(app_config).then(data => {
console.log('got here', data);
}).catch(error => {
console.log('error', error.message.slice(0, 150));
});
(sorry about all the artifactName elements, that doesn’t work either…)
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
electron-builder not generating "latest.yml" file on Windows ...
Fix requires deep understanding what electron-builder does and how. Some design decision should be made. In short: we cannot generate latest.yml ...
Read more >Electron-builder does not create latest.yml for auto updates ...
I'm trying to generate the auto update files to upload to a server. After signing and notarizing I expect the latest.yml file to...
Read more >Auto Update - electron-builder
Mac, otherwise latest-mac.yml cannot be created, which causes autoUpdater error. Default target for macOS is dmg + zip , so there is no...
Read more >Problem with app update yml files is not generated in electron?
on('update-downloaded', (info) => { const message = { type: 'info', buttons: ['Restart', 'Update'], title: `${appName} Update`, detail: `A new ...
Read more >Using an Auto Update API for Electron App's and Hosting it on ...
Hmm okay... but why not just use electron-updater's built in ... will ask for that latest.yml file, and use the information in it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The following is what I am now using based on your above response. This has not changed the error, it still says there is no publishConfig. What am I doing wrong?
I am having a similar issue, no
latest.yml
generated. https://github.com/electron-userland/electron-builder/issues/1742@codecleric have you managed to fix it?