diff --git a/README.md b/README.md index d4e9f30..008079c 100644 --- a/README.md +++ b/README.md @@ -4,26 +4,39 @@ A file list program that supports multiple storage. ## How to build +- Install `libfuse` development package. + + - ubuntu/debian: + ```shell + sudo apt update + sudo apt install libfuse-dev + ``` + + - redhat: + ```shell + sudo yum install fuse-devel + ``` + - Enter in your openwrt dir - Openwrt official SnapShots - *1. update golang 19.x (Fix build for `openwrt-21.02/22.03` branches)* + *1. requires golang 1.19.x or latest version (Fix build for older branches of OpenWrt.)* ```shell rm -rf feeds/packages/lang/golang - svn export https://github.com/sbwml/packages_lang_golang/branches/19.x feeds/packages/lang/golang + git clone https://github.com/sbwml/packages_lang_golang -b 20.x feeds/packages/lang/golang ``` *2. get luci-app-alist source & building* ```shell git clone https://github.com/sbwml/luci-app-alist package/alist make menuconfig # choose LUCI -> Applications -> luci-app-alist - make V=s + make package/alist/luci-app-alist/compile V=s # build luci-app-alist ``` -------------- -## How to install prebuilt packages (OpenWrt 21,22,master) +## How to install prebuilt packages - Login OpenWrt terminal (SSH)