Comments (6)
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.
Hmmm. I have my updates.json setup correctly. It is currently being served from a local development server.
Several questions then:
-
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? -
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?
-
How would one go about grabbing detailed logs of update?
from electron-simple-updater.
- For windows, update section should point to a directory where RELEASE file is located.
- No, electron-simple-updater doesn't read publisher.json. github API token in the file is used only for electron-simple-publisher.
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.
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.
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.
Please open a new issue if you still have some questions.
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
- 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.