Comments (7)
from electron-simple-updater.
Yes,
Like this,
updater.on('update-available', meta => {
this.onUpdateAvailable(meta);
});
updater.on('update-downloading', meta => {
this.onUpdateDownloading(meta);
});
updater.on('update-downloaded', meta => {
this.onUpdateDownloaded(meta);
});
updater.setOptions('logger', {
info(text) {
log.info(`auto-update: ${String(text)}`);
if (String(text).includes('is not available')) {
self.set('message', `Example ${pjson.version} is up to date.`);
}
},
warn(text) {
log.warn(`auto-update warnning: ${String(text)}`);
self.set('isDownloading', false);
self.set('message', 'An error occurred while checking for updates.');
self.set('error', true);
}
});
I haven't change nothing of this method, and I was receiving the message before.
from electron-simple-updater.
from electron-simple-updater.
Now I get this
auto-update debug: Update for darwin-x64-beta-v3.2.0-B001 is not available
from electron-simple-updater.
so, it can be closed?
from electron-simple-updater.
Well, the message before was in "info" log
If now it has changed, its ok
from electron-simple-updater.
Yes, it's new behavior.
from electron-simple-updater.
Related Issues (20)
- NSIS Support HOT 3
- Could not create temporary directory HOT 2
- Squirrel.Windows DEPRECATED :( HOT 6
- Enable downgrading/rollback HOT 1
- Events 'update-not-available', 'update-available', etc. not firing Render HOT 6
- Update often fails on Raspberry Pi HOT 4
- Update is disabled because the app is not packaged HOT 4
- opt.logger.debug is not a function HOT 1
- What should be path of update for windows HOT 2
- Add User agent to request HOT 5
- Simple Updater: The Request was Aborted HOT 6
- Empty warning text HOT 2
- Support for download progress (important for slow connections) HOT 3
- Linux App image HOT 1
- cannot perform update "Update is disabled because the app is not packaged" HOT 3
- Where can i locate the downlaoded electron packages? HOT 2
- Stuck at downloading windows squirrel HOT 3
- Documentation for updates.json ? HOT 8
- File downloaded file gets truncated in linux if calling quitAndInstall. HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-simple-updater.