* luci: optimize app_update code structure
abstract the components update info into a module.
Signed-off-by: nftbty <nftbty@gmail.com>
* luci: app_update add chinadns-ng & fix hysteria
Signed-off-by: nftbty <nftbty@gmail.com>
* luci: app_update optimize match_file_name generating.
- Update `auto_get_arch()`, and the generation of `match_file_name`.
- The function `to_check()`,`to_download()`,`to_extract()`,`to_move()` moved into api.lua, some functions in api.lua used by the 4 functions are no longer need to be public anymore, so add `local` before them.
Signed-off-by: nftbty <nftbty@gmail.com>
---------
Signed-off-by: nftbty <nftbty@gmail.com>