Giter Club home page Giter Club logo

Comments (21)

megahertz avatar megahertz commented on July 20, 2024 1

@smackgg You can build for windows without a certificate.

from electron-simple-updater.

smackgg avatar smackgg commented on July 20, 2024 1

Yep, It's only because of the certificate...

from electron-simple-updater.

megahertz avatar megahertz commented on July 20, 2024

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.

smackgg avatar smackgg commented on July 20, 2024

@megahertz
I don't know what happened, I only log this error.The log display the error message.

image

image

So, how can I see error detail?

from electron-simple-updater.

megahertz avatar megahertz commented on July 20, 2024

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.

smackgg avatar smackgg commented on July 20, 2024

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.

megahertz avatar megahertz commented on July 20, 2024

Yes, it seems that your code is correct. I'll try to run it tomorrow.

from electron-simple-updater.

megahertz avatar megahertz commented on July 20, 2024

Sorry, I have no time now. But I'll try to help you in a few days.

from electron-simple-updater.

smackgg avatar smackgg commented on July 20, 2024

OK. Thanks.

from electron-simple-updater.

smackgg avatar smackgg commented on July 20, 2024

I found a same problem in electron issues. There are the same error log.

electron/electron#8294

from electron-simple-updater.

megahertz avatar megahertz commented on July 20, 2024

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.

smackgg avatar smackgg commented on July 20, 2024

On your macOS autoUpdate works correctly?
I will use electrion 1.4.15 try it tomorrow...
Спасибо 🐱

from electron-simple-updater.

MathGrelck avatar MathGrelck commented on July 20, 2024

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.

megahertz avatar megahertz commented on July 20, 2024

@smackgg, yes

@MathGrelck Yes, you need to use the same code sign certificate for the current app and for update.

from electron-simple-updater.

smackgg avatar smackgg commented on July 20, 2024

@megahertz Can't autoUpdate if no sign certificate?

from electron-simple-updater.

megahertz avatar megahertz commented on July 20, 2024

@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.

megahertz avatar megahertz commented on July 20, 2024

@smackgg You can try to log error.message instead of error.

from electron-simple-updater.

smackgg avatar smackgg commented on July 20, 2024

@megahertz
image
image

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.

megahertz avatar megahertz commented on July 20, 2024

@smackgg Sure. You need to get a certificate and pass it to electron builder.

from electron-simple-updater.

smackgg avatar smackgg commented on July 20, 2024

@megahertz So, only on mac...Windows not ?

from electron-simple-updater.

megahertz avatar megahertz commented on July 20, 2024

@smackgg Did you solve the problem? Or the reason was an empty sign certificate on macOS?

from electron-simple-updater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.