You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was updating the app, an exception was thrown. I checked the network and found that the request had already been completed, so I'm not sure what this error means:
My code looks like this:
app.getConfig().then(config => {
let currentApplicationId = config.version;
let url = 'https://docs.codeforfun.cn/static/update_manifest.json';
updater.checkForUpdates(url).then(manifest => {
console.log('checkForUpdates r', manifest);
if (manifest.version !== currentApplicationId) {
console.log('该升级啦');
updater.install().then();
// app.restartProcess().then();
}
});
});
I searched for some Neutralino applications and found that other projects implement updates in this way. What are the differences between these two?
basically in the first code snippet , you are first checking whether your current version is the updated version or not , while in the second code you are directly downloading the file from a specific url using the curl command .Any other questions?
basically in the first code snippet , you are first checking whether your current version is the updated version or not , while in the second code you are directly downloading the file from a specific url using the curl command .Any other questions?
What I want to ask is why this line of code doesn't work properly.
I believe that in this issue the content is not defined in the boilerplate which cause issues during rendering and body variable is not passed properly when the update is being installed
When I was updating the app, an exception was thrown. I checked the network and found that the request had already been completed, so I'm not sure what this error means:
My code looks like this:
I searched for some Neutralino applications and found that other projects implement updates in this way. What are the differences between these two?
The text was updated successfully, but these errors were encountered: