All Projects → mehcode → atom-updater

mehcode / atom-updater

Licence: MIT license
Automatic updates (on Linux) for the Atom text editor

Programming Languages

javascript
184084 projects - #8 most used programming language

atom-updater

npm

Automatic updates (on Linux) for the Atom text editor.

Install

$ sudo npm install --global atom-updater

Usage

$ atom-updater

Auto Pilot (for systemd)

Create two files: one for the service, and another for a timer to run it.

Service

/etc/systemd/system/atom-updater.service

You may need to adjust the path to atom-updater if you're using nvm or another method of global installing the package.

[Unit]
Description=Atom Updater

[Service]
Type=oneshot
ExecStart=/bin/sh -c "atom-updater"

[Install]
WantedBy=multi-user.target
Timer

/etc/systemd/system/atom-updater.timer

[Unit]
Description=Atom Updater

[Timer]
Persistent=true
OnUnitActiveSec=30min
OnBootSec=30s

[Install]
WantedBy=timers.target

Next, enable the timer service, sit back, and relax as your atom will forever auto-update.

$ sudo systemctl enable atom-updater.timer
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].