https://github.com/orbitalquark/textadept-autoupdate
Module for checking if there is a Textadept update available.
https://github.com/orbitalquark/textadept-autoupdate
textadept textadept-module
Last synced: 12 months ago
JSON representation
Module for checking if there is a Textadept update available.
- Host: GitHub
- URL: https://github.com/orbitalquark/textadept-autoupdate
- Owner: orbitalquark
- Created: 2025-05-06T01:55:24.000Z (about 1 year ago)
- Default Branch: default
- Last Pushed: 2025-06-12T20:08:09.000Z (about 1 year ago)
- Last Synced: 2025-06-12T21:26:39.636Z (about 1 year ago)
- Topics: textadept, textadept-module
- Language: Lua
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Autoupdate
Checks for application updates.
Install this module by copying it into your *~/.textadept/modules/* directory or Textadept's
*modules/* directory, and then putting the following in your *~/.textadept/init.lua*:
```lua
local autoupdate = require('autoupdate')
```
There will be a "Help > Check for Updates" menu item. You can also have Textadept check for
updates on startup by setting [`autoupdate.check_on_startup`](#autoupdate.check_on_startup).
At this time, this module does not perform any auto-updates. The user is expected to act on
any update notifications.
Checks for updates, shows a message box if there is one, and copies the update URL to the
clipboard so the user can download it.
## `autoupdate.check_on_startup`
Whether or not to check for updates on startup.
The default value is `false`.
Command to send an HTTP request to check for updates.
The default value uses 'curl' on Windows, macOS, and BSD; it uses 'wget' on Linux.