1.6.1 • Published 5 years ago

gh-updater v1.6.1

Weekly downloads
12
License
BSD-3-Clause
Repository
github
Last release
5 years ago

npm version npm downloads Build Status codecov

Known Vulnerabilities codebeat badge Codacy Badge DeepScan grade

GitHub repository auto-updater

The project aims to develop a GitHub repository auto-updater tool using 7-Zip or unzip.

usage 運行方式

Here lists the usage of this tool.

As CLI update tool

If installed as node_modules/.bin/gh-updater:

node_modules/.bin/gh-updater user/repository-branch [target_directory]

default target directory: repository-branch/

e.g.,

# install into gh-updater-master/
node_modules/.bin/gh-updater kanasimi/gh-updater-master
# install into **current directory**
node_modules/.bin/gh-updater kanasimi/gh-updater-master .

Testing GitHub.updater.node.js:

node GitHub.updater.node.js user/repository-branch [target_directory]

As node.js module

const updater = require('gh-updater');

// to check version
updater.check_version('kanasimi/gh-updater-master', version_data => console.log(version_data) );

// to update
updater.update('kanasimi/gh-updater-master', '.');

OS support

Platformsupport
Windows✔️
macOS✔️
UNIX, Linux✔️

Requires

In UNIX or macOS, thie update tool will use unzip to extract files. In Windows, the client must install 7-Zip first.

Note

The update tool checks the latest commits of GitHub repository, NOT releases or npm package.

Contact 聯絡我們

Contact us at GitHub.

logo

1.6.1

5 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.20181015

7 years ago

1.0.20181014

7 years ago

1.0.20181013

7 years ago

1.0.20181012

7 years ago

1.0.20180919

7 years ago

1.0.20180917

7 years ago

1.0.20180916

7 years ago

1.0.20180915

7 years ago

1.0.20180914

7 years ago

1.0.20180913

7 years ago

1.0.20180912

7 years ago

1.0.20180911

7 years ago

1.0.20180910

7 years ago

1.0.20180909

7 years ago

1.0.20180908

7 years ago