mirror of
https://github.com/kenzok8/AutoSync.git
synced 2025-01-08 11:47:26 +08:00
update
This commit is contained in:
parent
4d5fecef0b
commit
d75bf900ac
91
.github/diy/litte.sh
vendored
Normal file
91
.github/diy/litte.sh
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
#!/bin/bash
|
||||
function git_sparse_clone() {
|
||||
branch="$1" rurl="$2" localdir="$3" && shift 3
|
||||
git clone -b $branch --depth 1 --filter=blob:none --sparse $rurl $localdir
|
||||
cd $localdir
|
||||
git sparse-checkout init --cone
|
||||
git sparse-checkout set $@
|
||||
mv -n $@ ../
|
||||
cd ..
|
||||
rm -rf $localdir
|
||||
}
|
||||
|
||||
function mvdir() {
|
||||
mv -n `find $1/* -maxdepth 0 -type d` ./
|
||||
rm -rf $1
|
||||
}
|
||||
git clone --depth 1 https://github.com/sirpdboy/luci-app-lucky
|
||||
git clone --depth 1 https://github.com/kiddin9/luci-app-dnsfilter
|
||||
git clone --depth 1 https://github.com/yaof2/luci-app-ikoolproxy
|
||||
git clone --depth 1 https://github.com/ntlf9t/luci-app-easymesh
|
||||
git clone --depth 1 https://github.com/tty228/luci-app-wechatpush
|
||||
git clone --depth 1 https://github.com/jerrykuku/luci-theme-argon
|
||||
git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config
|
||||
git clone --depth 1 https://github.com/sirpdboy/luci-app-advanced
|
||||
git clone --depth 1 https://github.com/sirpdboy/luci-theme-opentopd
|
||||
git clone --depth 1 https://github.com/jefferymvp/luci-app-koolproxyR
|
||||
git clone --depth 1 https://github.com/hubbylei/luci-app-clash
|
||||
#git clone --depth 1 https://github.com/QiuSimons/openwrt-mos && mv -n openwrt-mos/*mosdns ./ ; rm -rf openwrt-mos
|
||||
git clone --depth 1 https://github.com/sbwml/luci-app-mosdns openwrt-mos && mv -n openwrt-mos/{*mosdns,v2dat} ./; rm -rf openwrt-mos
|
||||
git clone --depth 1 https://github.com/kenzok8/luci-theme-ifit ifit && mv -n ifit/luci-theme-ifit ./;rm -rf ifit
|
||||
git clone --depth 1 https://github.com/kenzok78/luci-theme-argone
|
||||
git clone --depth 1 https://github.com/kenzok78/luci-app-argone-config
|
||||
git clone --depth 1 https://github.com/kenzok78/luci-app-adguardhome
|
||||
git clone --depth 1 https://github.com/kenzok78/luci-app-fileassistant
|
||||
git clone --depth 1 https://github.com/gngpp/luci-theme-design
|
||||
git clone --depth 1 https://github.com/gngpp/luci-app-design-config
|
||||
git clone --depth 1 -b lede https://github.com/pymumu/luci-app-smartdns
|
||||
git clone --depth 1 https://github.com/Huangjoe123/luci-app-eqos
|
||||
git clone --depth 1 https://github.com/jerrykuku/lua-maxminddb
|
||||
git clone --depth 1 https://github.com/sirpdboy/luci-app-partexp
|
||||
git clone --depth 1 -b master https://github.com/UnblockNeteaseMusic/luci-app-unblockneteasemusic
|
||||
git clone --depth 1 https://github.com/ophub/luci-app-amlogic amlogic && mv -n amlogic/luci-app-amlogic ./;rm -rf amlogic
|
||||
git clone --depth 1 https://github.com/linkease/istore && mv -n istore/luci/* ./; rm -rf istore
|
||||
git clone --depth 1 https://github.com/linkease/nas-packages && mv -n nas-packages/network/services/ddnsto ./; rm -rf nas-packages
|
||||
git clone --depth 1 https://github.com/linkease/nas-packages-luci && mv -n nas-packages-luci/luci/luci-app-ddnsto ./; rm -rf nas-packages-luci
|
||||
git clone --depth 1 https://github.com/messense/aliyundrive-webdav aliyundrive && mv -n aliyundrive/openwrt/* ./ ; rm -rf aliyundrive
|
||||
git clone --depth 1 https://github.com/honwen/luci-app-aliddns
|
||||
git clone --depth 1 https://github.com/sbwml/luci-app-alist openwrt-alist && mv -n openwrt-alist/*alist ./ ; rm -rf openwrt-alist
|
||||
git clone --depth 1 https://github.com/sirpdboy/sirpdboy-package && mv -n sirpdboy-package/luci-app-dockerman ./ ; rm -rf sirpdboy-package
|
||||
git clone --depth 1 https://github.com/vernesong/OpenClash && mv -n OpenClash/luci-app-openclash ./; rm -rf OpenClash
|
||||
git clone --depth 1 https://github.com/kenzok8/litte && mv -n litte/luci-theme-atmaterial_new litte/luci-theme-tomato ./ ; rm -rf litte
|
||||
git clone --depth 1 https://github.com/kenzok8/wall && mv -n wall/UnblockNeteaseMusic wall/gost wall/smartdns wall/adguardhome wall/filebrowser ./ ; rm -rf wall
|
||||
git clone --depth 1 https://github.com/immortalwrt/luci && mv -n luci/applications/luci-app-gost luci/applications/luci-app-filebrowser ./ ; rm -rf luci
|
||||
svn export https://github.com/coolsnowwolf/luci/trunk/libs/luci-lib-ipkg
|
||||
git clone --depth 1 https://github.com/kenzok8/wall && mv -n wall/* ./ ; rm -rf wall
|
||||
git clone --depth 1 https://github.com/jerrykuku/luci-app-vssr
|
||||
git clone --depth 1 https://github.com/sirpdboy/luci-app-ddns-go ddnsgo && mv -n ddnsgo/luci-app-ddns-go ./; rm -rf ddnsgo
|
||||
git clone --depth 1 -b main https://github.com/xiaorouji/openwrt-passwall passwall1 && mv -n passwall1/luci-app-passwall ./; rm -rf passwall1
|
||||
git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall2 passwall2 && mv -n passwall2/luci-app-passwall2 ./;rm -rf passwall2
|
||||
git clone --depth 1 https://github.com/fw876/helloworld && mv -n helloworld/{luci-app-ssr-plus,tuic-client} ./ ; rm -rf helloworld
|
||||
#svn export https://github.com/immortalwrt/packages/trunk/devel/gn
|
||||
svn export https://github.com/kenzok8/small-package/trunk/luci-app-bypass
|
||||
svn export https://github.com/xiaorouji/openwrt-passwall-packages/trunk/sing-box
|
||||
|
||||
sed -i \
|
||||
-e 's?include \.\./\.\./\(lang\|devel\)?include $(TOPDIR)/feeds/packages/\1?' \
|
||||
-e 's?2. Clash For OpenWRT?3. Applications?' \
|
||||
-e 's?\.\./\.\./luci.mk?$(TOPDIR)/feeds/luci/luci.mk?' \
|
||||
-e 's/ca-certificates/ca-bundle/' \
|
||||
*/Makefile
|
||||
|
||||
sed -i 's/luci-lib-ipkg/luci-base/g' luci-app-store/Makefile
|
||||
sed -i 's/+dockerd/+dockerd +cgroupfs-mount/' luci-app-docker*/Makefile
|
||||
sed -i '$i /etc/init.d/dockerd restart &' luci-app-docker*/root/etc/uci-defaults/*
|
||||
sed -i 's/+libcap /+libcap +libcap-bin /' luci-app-openclash/Makefile
|
||||
sed -i 's/\(+luci-compat\)/\1 +luci-theme-argon/' luci-app-argon-config/Makefile
|
||||
sed -i 's/\(+luci-compat\)/\1 +luci-theme-design/' luci-theme-design-config/Makefile
|
||||
sed -i 's/\(+luci-compat\)/\1 +luci-theme-argone/' luci-app-argone-config/Makefile
|
||||
#sed -i -e 's/nas/services/g' -e 's/NAS/Services/g' $(grep -rl 'nas\|NAS' luci-app-fileassistant)
|
||||
sed -i '65,73d' adguardhome/Makefile
|
||||
rm -rf ./*/.git ./*/.gitattributes ./*/.svn ./*/.github ./*/.gitignore create_acl_for_luci.err create_acl_for_luci.ok create_acl_for_luci.warn
|
||||
|
||||
sed -i \
|
||||
-e 's?include \.\./\.\./\(lang\|devel\)?include $(TOPDIR)/feeds/packages/\1?' \
|
||||
-e 's?\.\./\.\./luci.mk?$(TOPDIR)/feeds/luci/luci.mk?' \
|
||||
*/Makefile
|
||||
|
||||
rm -rf ./*/.git ./*/.gitattributes ./*/.svn ./*/.github ./*/.gitignore
|
||||
#find . -type f -name Makefile -exec sed -i 's/PKG_BUILD_FLAGS:=no-mips16/PKG_USE_MIPS16:=0/g' {} +
|
||||
exit 0
|
||||
|
2
.github/workflows/litte.yml
vendored
2
.github/workflows/litte.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
||||
cd ${{matrix.target}}
|
||||
git rm -r --cache * >/dev/null 2>&1 &
|
||||
rm -rf `find ./* -maxdepth 0 -type d ! -name "commit"` >/dev/null 2>&1
|
||||
$GITHUB_WORKSPACE/.github/diy/${{matrix.target}}.sh
|
||||
$GITHUB_WORKSPACE/.github/diy/litte.sh
|
||||
bash /$GITHUB_WORKSPACE/.github/diy/convert_translation.sh
|
||||
bash /$GITHUB_WORKSPACE/.github/diy/create_acl_for_luci.sh -a
|
||||
bash /$GITHUB_WORKSPACE/.github/diy/Modify.sh
|
||||
|
Loading…
Reference in New Issue
Block a user