Giter Club home page Giter Club logo

Comments (6)

megahertz avatar megahertz commented on July 23, 2024

First of all, it doesn't support private repo out of the box, so make sure all the links updates.json, files pointed by update section of updates.json are available.

Also collecting detailed logs of update can be helpful

from electron-simple-updater.

bryantb2 avatar bryantb2 commented on July 23, 2024

Hmmm. I have my updates.json setup correctly. It is currently being served from a local development server.

Several questions then:

  1. What does it mean for the "update section of updates.json to be available"? Currently, the install link will direct to a .exe download, but the update link just results in an "unavailable" page with github, much like your's in the example. Where should the update property of the updates.json be pointing to, exactly?

  2. Is it enough to have my github API key in the publisher JSON, at the top-level of my application, for the updater to automatically access my releases?

  3. How would one go about grabbing detailed logs of update?

from electron-simple-updater.

megahertz avatar megahertz commented on July 23, 2024
  1. For windows, update section should point to a directory where RELEASE file is located.
  2. No, electron-simple-updater doesn't read publisher.json. github API token in the file is used only for electron-simple-publisher.
  3. updater.init({ logger: require('electron-log') });

I don't think updates in a private repository could be used directly. All the files necessary for update should be available through a direct unauthorized link.

from electron-simple-updater.

bryantb2 avatar bryantb2 commented on July 23, 2024

So you are saying I'd have to use a public github repo to update my application? Is there a way for me to give private repo access to the updater via a Github API token?

Also, is the release file JSON or the actual build executable file for the application?

from electron-simple-updater.

megahertz avatar megahertz commented on July 23, 2024

I don't know the way how a private repo could be used.

RELEASE file is the standard file of Squirrel Windows, you could check the example.

from electron-simple-updater.

megahertz avatar megahertz commented on July 23, 2024

Please open a new issue if you still have some questions.

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.