https://github.com/averissimo/atom-updater
Downloads latest atom release and extracts to directory
https://github.com/averissimo/atom-updater
Last synced: 11 months ago
JSON representation
Downloads latest atom release and extracts to directory
- Host: GitHub
- URL: https://github.com/averissimo/atom-updater
- Owner: averissimo
- Created: 2018-11-26T18:20:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-05-28T01:20:59.000Z (about 1 year ago)
- Last Synced: 2025-06-26T00:07:00.629Z (11 months ago)
- Language: JavaScript
- Size: 1.14 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Download latest release from Atom
Default settings download Linux 64-bits version of Atom and extracts to an existing directory `/opt/atom-wrapper/atom`.
Directory must exist and user must have permissions to write to it.
## Usage
Edit `config.json` to change some configurations, such as the architecture to download
or where to extract the contents.
```
npm start
```
That's it!
## Executable
In order for atom to run in background I've added the following script to `/usr/local/bin`
```
#!/bin/bash
ATOM_DIR=/opt/atom
nohup $ATOM_DIR/atom $@ > /dev/null 2> /dev/null &
```
*note:* change `ATOM_DIR` for the directory where you are installing