auto-update's People
Forkers
nvdnkpr vinod1988 postpcera acidburn0zzz powderluv priaonehaha linearregression hassan31 reactjs-alex-alex2006hw narendramaharjan wahid-anwar-m4 singh-prabh peakdot hobbit19 deepthi-aj isabella232 varshithamanasa thedigitaloctopus dexitauto-update's Issues
Linux Port
Porting auto-update
to linux induces a few complications & tradeofs such as:
- There's no such things as MacOS packages
- Finding the executable path is non-portable cross unix flavours (stackoverflow)
- Most linux distributions have package managers that update software automatically
After a discussion on #chromium, it looks like chrome on linux lets the package manager update the distributed software and notifies the user in the UI whenever a new version is installed, prompting her to relaunch chrome.
Chrome approach
- Let the package manager handle updates
- Provide instructions to construct auto-update compliant npm, deb packages
- Build a library to detect updates from the package manager prompting the user to relaunch
Independent approach
- We would have to enforce the fact that software release would have to be packaged in a directory easily identifiable from the running executable path.
- We would want to avoid prompting a root password anytime the program tries to update itself. auto-update managed package would probably have to set permissions in a quite specific way at install to support the update model: eg. setgid on the exec and authorize write for the given group on all relevant files
It guess this deserves a discussion here to see what would work best!
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.