diff --git a/Scripts/AutoBuild_DiyScript.sh b/Scripts/AutoBuild_DiyScript.sh index b74c0e1..d7ca2c8 100755 --- a/Scripts/AutoBuild_DiyScript.sh +++ b/Scripts/AutoBuild_DiyScript.sh @@ -5,7 +5,7 @@ Diy_Core() { Author=Hyy2001 - Default_Device=d-team_newifi-d2 + Default_Device= INCLUDE_AutoUpdate=true INCLUDE_AutoBuild_Tools=true @@ -18,6 +18,7 @@ Diy_Core() { INCLUDE_Bypass=false INCLUDE_OpenClash=true INCLUDE_OAF=false + INCLUDE_Argon=true } Diy-Part1() { @@ -29,7 +30,6 @@ Diy-Part1() { Update_Makefile xray-core package/lean/helloworld/xray-core Update_Makefile exfat package/kernel/exfat - ExtraPackages git lean luci-theme-argon https://github.com/jerrykuku 18.06 ExtraPackages git other luci-app-argon-config https://github.com/jerrykuku ExtraPackages git other luci-app-adguardhome https://github.com/Hyy2001X ExtraPackages git other luci-app-shutdown https://github.com/Hyy2001X diff --git a/Scripts/AutoBuild_Function.sh b/Scripts/AutoBuild_Function.sh index 32763bc..62c3972 100755 --- a/Scripts/AutoBuild_Function.sh +++ b/Scripts/AutoBuild_Function.sh @@ -80,6 +80,13 @@ Diy_Part2_Base() { Replace_File Customize/uhttpd.po feeds/luci/applications/luci-app-uhttpd/po/zh-cn Replace_File Customize/webadmin.po package/lean/luci-app-webadmin/po/zh-cn Replace_File Customize/mwan3.config package/feeds/packages/mwan3/files/etc/config mwan3 + if [[ "${INCLUDE_Argon}" == "true" ]];then + if [ -f "${Default_File}" ];then + ExtraPackages git lean luci-theme-argon https://github.com/jerrykuku 18.06 + else + ExtraPackages git other luci-theme-argon https://github.com/jerrykuku + fi + fi if [[ "${INCLUDE_DRM_I915}" == "true" ]];then Replace_File Customize/config-5.4 target/linux/x86 fi