https://github.com/orbitalquark/textadept-update-notifier
Module for notifying when there is a Textadept update available.
https://github.com/orbitalquark/textadept-update-notifier
textadept textadept-module
Last synced: 10 months ago
JSON representation
Module for notifying when there is a Textadept update available.
- Host: GitHub
- URL: https://github.com/orbitalquark/textadept-update-notifier
- Owner: orbitalquark
- Created: 2025-08-27T15:24:03.000Z (10 months ago)
- Default Branch: default
- Last Pushed: 2025-08-27T15:46:30.000Z (10 months ago)
- Last Synced: 2025-08-28T00:51:33.519Z (10 months ago)
- Topics: textadept, textadept-module
- Language: Lua
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Update Notifier
Checks for application updates and notifies when one is available.
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 update_notifier = require('update_notifier')
```
There will be a "Help > Check for Updates" menu item. You can also have Textadept check for
updates on startup by setting [`update_notifier.check_on_startup`](#update_notifier.check_on_startup).
This module does not perform any updates. The user is expected to act on any update
notifications.
Command used to open a URL in a browser.
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.
## `update_notifier.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.