Skip to content

orbitalquark/textadept-autoupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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.

At this time, this module does not perform any auto-updates. The user is expected to act on any update notifications.

autoupdate.check()

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.

autoupdate.fetch

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.

About

Module for checking if there is a Textadept update available.

Topics

Resources

Stars

Watchers

Forks