Comments (21)
@smackgg You can build for windows without a certificate.
from electron-simple-updater.
Yep, It's only because of the certificate...
from electron-simple-updater.
This information is not enough to determine where is the error. What is the error message?
In the stack I see only a problem when calling render process code from browser process.
from electron-simple-updater.
@megahertz
I don't know what happened, I only log this error.The log display the error message.
So, how can I see error detail?
from electron-simple-updater.
electron-simple-updater does not contains code which executes in a rendere process. So there is an error in your code. I can assume that you initialize electron-simple-updater in a renderer process instead of a browser process. Sorry, I can't give you an advice without your source code.
from electron-simple-updater.
But my code is all good.
You can see all code on https://github.com/emododododo/daying/tree/test-release
Commit:
emododododo/daying@6515ffa
emododododo/daying@3c2abe4
Please help me if you have free time, thanks.
from electron-simple-updater.
Yes, it seems that your code is correct. I'll try to run it tomorrow.
from electron-simple-updater.
Sorry, I have no time now. But I'll try to help you in a few days.
from electron-simple-updater.
OK. Thanks.
from electron-simple-updater.
I found a same problem in electron issues. There are the same error log.
from electron-simple-updater.
Maybe it's related to specific electron version. I've run your project on macOS (with changed update url) and it works correctly. I used electron 1.4.15
from electron-simple-updater.
On your macOS autoUpdate works correctly?
I will use electrion 1.4.15 try it tomorrow...
Спасибо 🐱
from electron-simple-updater.
When I run your example, I'm also getting an 'Error'.
This is the log output:
[info] Start the application
[info] Found version 0.0.2 at https://github.com/megahertz/electron-simple-updater/releases/download/darwin-x64-prod-v0.0.2/release.json
[info] Downloading updates from https://github.com/megahertz/electron-simple-updater/releases/download/darwin-x64-prod-v0.0.2/release.json
[warn] Error
I checked with Little Snitch that it manages to download most or all of the v0.0.2 content from github, but then throws an error (maybe when trying to initiate the installation process?).
What I did was to change the version number from 0.0.2 to 0.0.1 in app/package.json, then compile and run the generated .app.
I'm using [email protected] on OSX 10.11.6
Does it make a difference that the app I compile is code signed with my company credentials (since the one you host on github of course is not)?
from electron-simple-updater.
@smackgg, yes
@MathGrelck Yes, you need to use the same code sign certificate for the current app and for update.
from electron-simple-updater.
@megahertz Can't autoUpdate if no sign certificate?
from electron-simple-updater.
@smackgg I think that Squirrel.Mac requires code signing, but I'm not sure. I know exactly that update will fail if previous and next version are signed using different certificate.
from electron-simple-updater.
@smackgg You can try to log error.message instead of error.
from electron-simple-updater.
Error.message logs noting..
I think the error should because of sign certificate. I have not written any code about the sign certificate.
You say sign certificate need apple developer ?
from electron-simple-updater.
@smackgg Sure. You need to get a certificate and pass it to electron builder.
from electron-simple-updater.
@megahertz So, only on mac...Windows not ?
from electron-simple-updater.
@smackgg Did you solve the problem? Or the reason was an empty sign certificate on macOS?
from electron-simple-updater.
Related Issues (20)
- NSIS Support HOT 3
- checkForUpdates not responding HOT 7
- 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.