diff --git a/README.md b/README.md index 9663fef..4ed4a4e 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,14 @@ * 我的博客:[Monlor's Blog](https://www.monlor.com) * GitHub地址:[monlor/MIXBOX](https://github.com/monlor/MIXBOX) +### 更新日志 + +* 2019-03-03 + * 修复`v2ray`配置文件问题(未测试),感谢`@leafnsand`的PR + * 修复`Entware`插件无法启动`ONMP`的问题 + * 插件`VerySync`和`BaiduPCS`的程序版本更新 + * 现在修复小米路由器远程访问后会自动开放8098端口 + ### 介绍 **工具箱`MIXBOX`公测发布,`Monlor Tools`不再更新。新版本有以下改变:** diff --git a/applist.txt b/applist.txt index 084affb..ca0d9a1 100644 --- a/applist.txt +++ b/applist.txt @@ -1,9 +1,9 @@ aliddns|动态将你的路由器IP绑定到域名||0.0.2|AliDDNS|linux_arm,linux_mips,linux_x86_64,darwin_x86_64 aria2|Linux下一款高效的下载工具|更新了R3G的二进制文件|0.0.2|Aria2|linux_arm,linux_mips,linux_x86_64 -baidupcs|第三方百度网盘web客户端,基于Go语言|更新arm和mips程序,作者更新了移动ui|0.0.3|BaiduPCS|linux_arm,linux_mips,linux_x86_64,darwin_x86_64 +baidupcs|第三方百度网盘web客户端,基于Go语言|更新arm和mips程序,作者更新了移动ui|0.0.4|BaiduPCS|linux_arm,linux_mips,linux_x86_64,darwin_x86_64 dropbear|移植小米的SSH功能到工具箱|添加备份功能支持|0.0.2|DropBear|linux_arm,linux_mips easyexplorer|一款跨设备的P2P文件同步工具||0.0.2|EasyExplorer|linux_arm,linux_x86_64,darwin_x86_64 -entware|一款开源且强大的包管理工具,许多功能都通过它来实现|增加了启动ONMP安装程序的选项|0.0.3|Entware|linux_arm,linux_mips,linux_x86_64 +entware|一款开源且强大的包管理工具,许多功能都通过它来实现|修复了ONMP无法使用的问题|0.0.4|Entware|linux_arm,linux_mips,linux_x86_64 fastdick|迅雷快鸟,快带提速工具||0.0.2|FastDick|linux_arm,linux_mips,linux_x86_64,darwin_x86_64 filebrowser|Web文件浏览器||0.0.2|FileBrowser|linux_arm,linux_mips,linux_x86_64,darwin_x86_64 firewall|防火墙端口开放插件|支持添加多种端口号类型|0.0.2|FireWall|linux_arm,linux_mips,linux_x86_64 @@ -14,17 +14,17 @@ jetbrains|快速搭建JetBrains激活服务器||0.0.2|JetBrains|linux_arm,linux_ kms|快速搭建Windows、Office激活服务器|Support for Windows 10 1809, Windows Server 2019 and Office 2019 built-in|0.0.2|Kms|linux_arm,linux_mips,linux_x86_64,darwin_x86_64 kodexplorer|可道云,在线文档管理器,需要entware环境|修复脚本bug,无法启用程序|0.0.3|KodExplorer|linux_arm,linux_mips,linux_x86_64 koolproxy|简单,快速屏蔽网页或视频广告|去掉openssl程序,采用kp自带程序生成证书,减小插件体积|0.0.2|KoolProxy|linux_arm,linux_mips,linux_x86_64 -miwifi|小米路由器系统管理,修改samba禁用系统更新等||0.0.3|MIWIFI|linux_arm,linux_mips +miwifi|小米路由器系统管理,修改samba禁用系统更新等|现在修复小米路由器远程访问会自动开放8098端口|0.0.4|MIWIFI|linux_arm,linux_mips mixbox|一款支持多平台,多架构的Shell工具箱|修复由于mbdb导致frpc配置无法识别的bug|0.0.6|MIXBOX|linux_arm,linux_mips,linux_x86_64,darwin_x86_64 ngrok|轻量级的内网穿透工具||0.0.2|Ngrok|linux_arm,linux_mips pptpd|简单但并不安全的VPN服务器||0.0.2|PPTPD|linux_arm,linux_mips,linux_x86_64 qiandao|koolshare merlin 自动签到程序||0.0.2|QianDao|linux_arm,linux_x86_64 -shadowsocks|最好的翻墙工具,没有之一,还可以加速国内外游戏|1.修复回国模式的未添加ipset规则的bug\n\ 2.修复其余设备运行模式一直显示科学上网的bug\n\ 3.修复vray配置文件安全方式为空时的错误|0.0.7|ShadowSocks|linux_arm,linux_mips,linux_x86_64 +shadowsocks|最好的翻墙工具,没有之一,还可以加速国内外游戏|1.修复v2ray配置文件问题(未测试),感谢@leafnsand的pr|0.1.0|ShadowSocks|linux_arm,linux_mips,linux_x86_64 smartdns|DNS加速工具,从多个上游DNS服务器查询,避免DS污染|更新smartdns程序版本|0.0.3|SmartDNS|linux_arm,linux_mips,linux_x86_64 ssserver|快速搭建ss服务端程序||0.0.2|SSServer|linux_arm,linux_x86_64 tinyproxy|轻量级的Http代理工具||0.0.2|TinyProxy|linux_arm,linux_mips,linux_x86_64 transmission|一款BT下载神器||0.0.3|Transmission|linux_arm,linux_mips,linux_x86_64 -verysync|基于p2p的文件同步工具,局域网同步速度快||0.0.4|VerySync|linux_arm,linux_mips,linux_x86_64 +verysync|基于p2p的文件同步工具,局域网同步速度快|更新程序版本|0.0.5|VerySync|linux_arm,linux_mips,linux_x86_64 vsftpd|快速搭建Ftp服务器,局域网文件共享||0.0.3|VsFtpd|linux_arm,linux_mips,linux_x86_64 webd|一款只有40k大小的mini个人网盘||0.0.2|WebD|linux_arm,linux_mips,linux_x86_64,darwin_linux_x86_64 webshell|网页ssh工具,可在网页上管理路由器||0.0.2|WebShell|linux_arm,linux_mips,linux_x86_64 diff --git a/apps/baidupcs/bin/baidupcs_linux_arm b/apps/baidupcs/bin/baidupcs_linux_arm index 177f54c..b87839d 100755 Binary files a/apps/baidupcs/bin/baidupcs_linux_arm and b/apps/baidupcs/bin/baidupcs_linux_arm differ diff --git a/apps/baidupcs/bin/baidupcs_linux_mips b/apps/baidupcs/bin/baidupcs_linux_mips index 574912b..97abbb5 100755 Binary files a/apps/baidupcs/bin/baidupcs_linux_mips and b/apps/baidupcs/bin/baidupcs_linux_mips differ diff --git a/apps/baidupcs/config/baidupcs.uci b/apps/baidupcs/config/baidupcs.uci index 46fb510..a8eaa69 100644 --- a/apps/baidupcs/config/baidupcs.uci +++ b/apps/baidupcs/config/baidupcs.uci @@ -5,4 +5,4 @@ backupfiles="" supports="linux_arm,linux_mips,linux_x86_64,darwin_x86_64" appinfo="第三方百度网盘web客户端,基于Go语言" newinfo="更新arm和mips程序,作者更新了移动ui" -version="0.0.3" +version="0.0.4" diff --git a/apps/entware/config/entware.uci b/apps/entware/config/entware.uci index 9de37e5..6435f85 100644 --- a/apps/entware/config/entware.uci +++ b/apps/entware/config/entware.uci @@ -2,6 +2,6 @@ service=Entware appname="entware" needver="0.0.1" supports="linux_arm,linux_mips,linux_x86_64" -newinfo="增加了启动ONMP安装程序的选项" +newinfo="修复了ONMP无法使用的问题" appinfo="一款开源且强大的包管理工具,许多功能都通过它来实现" -version="0.0.3" +version="0.0.4" diff --git a/apps/entware/config/version.txt b/apps/entware/config/version.txt deleted file mode 100644 index 3c43790..0000000 --- a/apps/entware/config/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.2.6 diff --git a/apps/entware/scripts/entware.sh b/apps/entware/scripts/entware.sh index 74b4b23..7baaaed 100644 --- a/apps/entware/scripts/entware.sh +++ b/apps/entware/scripts/entware.sh @@ -96,7 +96,7 @@ start () { done logsh "【$service】" "${appname}服务启动完成" - [ "$onmp" == '1' ] && sh -c "$(curl -kfsSl https://raw.githubusercontent.com/mixbox/ONMP/master/oneclick.sh)" + [ "$onmp" == '1' ] && sh -c "$(curl -kfsSl https://raw.githubusercontent.com/monlor/ONMP/master/oneclick.sh)" } diff --git a/apps/miwifi/config/miwifi.uci b/apps/miwifi/config/miwifi.uci index b42f46d..ffbd8d2 100644 --- a/apps/miwifi/config/miwifi.uci +++ b/apps/miwifi/config/miwifi.uci @@ -3,5 +3,5 @@ appname="miwifi" needver="0.0.1" supports="linux_arm,linux_mips" appinfo="小米路由器系统管理,修改samba禁用系统更新等" -newinfo="" -version="0.0.3" +newinfo="现在修复小米路由器远程访问会自动开放8098端口" +version="0.0.4" diff --git a/apps/miwifi/config/version.txt b/apps/miwifi/config/version.txt deleted file mode 100644 index 238d6e8..0000000 --- a/apps/miwifi/config/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.0.7 diff --git a/apps/miwifi/scripts/miwifi.sh b/apps/miwifi/scripts/miwifi.sh index 8830f30..ed5e799 100644 --- a/apps/miwifi/scripts/miwifi.sh +++ b/apps/miwifi/scripts/miwifi.sh @@ -59,6 +59,7 @@ enable_remote_web() { mount --bind ${mbtmp}/miwifi-webinitrd.conf /etc/sysapihttpd/miwifi-webinitrd.conf /etc/init.d/sysapihttpd restart &> /dev/null remote_text="启动" + iptables -I INPUT -p tcp --dport 8098 -j ACCEPT &> /dev/null fi } @@ -66,6 +67,7 @@ disable_remote_web() { umount -lf /etc/sysapihttpd/miwifi-webinitrd.conf &> /dev/null rm -rf ${mbtmp}/miwifi-webinitrd.conf &> /dev/null remote_text="禁用" + iptables -D INPUT -p tcp --dport 8098 -j ACCEPT &> /dev/null } start() { diff --git a/apps/shadowsocks/config/shadowsocks.uci b/apps/shadowsocks/config/shadowsocks.uci index 2a9414f..188feed 100644 --- a/apps/shadowsocks/config/shadowsocks.uci +++ b/apps/shadowsocks/config/shadowsocks.uci @@ -5,7 +5,5 @@ supports="linux_arm,linux_mips,linux_x86_64" openport="1" backupfiles="config/ssserver.conf,config/sscontrol.conf,config/customize_black.conf,config/customize_white.conf" appinfo="最好的翻墙工具,没有之一,还可以加速国内外游戏" -newinfo="1.修复回国模式的未添加ipset规则的bug\n\ -2.修复其余设备运行模式一直显示科学上网的bug\n\ -3.修复vray配置文件安全方式为空时的错误" -version="0.0.7" +newinfo="1.修复v2ray配置文件问题(未测试),感谢@leafnsand的pr" +version="0.1.0" diff --git a/apps/verysync/bin/verysync_linux_arm b/apps/verysync/bin/verysync_linux_arm index b5cb556..05cd2dc 100755 Binary files a/apps/verysync/bin/verysync_linux_arm and b/apps/verysync/bin/verysync_linux_arm differ diff --git a/apps/verysync/bin/verysync_linux_mips b/apps/verysync/bin/verysync_linux_mips index 10cb185..e5b9447 100644 Binary files a/apps/verysync/bin/verysync_linux_mips and b/apps/verysync/bin/verysync_linux_mips differ diff --git a/apps/verysync/config/verysync.uci b/apps/verysync/config/verysync.uci index eb08637..f6ad2ce 100644 --- a/apps/verysync/config/verysync.uci +++ b/apps/verysync/config/verysync.uci @@ -3,5 +3,5 @@ appname="verysync" needver="0.0.1" supports="linux_arm,linux_mips,linux_x86_64" appinfo="基于p2p的文件同步工具,局域网同步速度快" -newinfo="" -version="0.0.4" +newinfo="更新程序版本" +version="0.0.5" diff --git a/appsbin/v2ray-bin/linux_arm/lastest.txt b/appsbin/v2ray-bin/linux_arm/lastest.txt index b617d99..ef8ffbd 100644 --- a/appsbin/v2ray-bin/linux_arm/lastest.txt +++ b/appsbin/v2ray-bin/linux_arm/lastest.txt @@ -1 +1 @@ -4.9.0 \ No newline at end of file +4.18.0 \ No newline at end of file diff --git a/appsbin/v2ray-bin/linux_arm/v2ctl b/appsbin/v2ray-bin/linux_arm/v2ctl index 35b473b..c0a40e8 100755 Binary files a/appsbin/v2ray-bin/linux_arm/v2ctl and b/appsbin/v2ray-bin/linux_arm/v2ctl differ diff --git a/appsbin/v2ray-bin/linux_arm/v2ray b/appsbin/v2ray-bin/linux_arm/v2ray index 6bd5622..b3f3cc6 100755 Binary files a/appsbin/v2ray-bin/linux_arm/v2ray and b/appsbin/v2ray-bin/linux_arm/v2ray differ diff --git a/appsbin/v2ray-bin/linux_mips/3.50/v2ctl b/appsbin/v2ray-bin/linux_mips/3.50/v2ctl deleted file mode 100644 index 206d692..0000000 Binary files a/appsbin/v2ray-bin/linux_mips/3.50/v2ctl and /dev/null differ diff --git a/appsbin/v2ray-bin/linux_mips/3.50/v2ray b/appsbin/v2ray-bin/linux_mips/3.50/v2ray deleted file mode 100644 index 25e231f..0000000 Binary files a/appsbin/v2ray-bin/linux_mips/3.50/v2ray and /dev/null differ diff --git a/appsbin/v2ray-bin/linux_mips/lastest.txt b/appsbin/v2ray-bin/linux_mips/lastest.txt index 595ad53..ef8ffbd 100644 --- a/appsbin/v2ray-bin/linux_mips/lastest.txt +++ b/appsbin/v2ray-bin/linux_mips/lastest.txt @@ -1 +1 @@ -4.16.3 +4.18.0 \ No newline at end of file diff --git a/appsbin/v2ray-bin/linux_mips/v2ctl b/appsbin/v2ray-bin/linux_mips/v2ctl index 0e46e13..fea95f8 100644 Binary files a/appsbin/v2ray-bin/linux_mips/v2ctl and b/appsbin/v2ray-bin/linux_mips/v2ctl differ diff --git a/appsbin/v2ray-bin/linux_mips/v2ray b/appsbin/v2ray-bin/linux_mips/v2ray index a851346..6e5cfbf 100644 Binary files a/appsbin/v2ray-bin/linux_mips/v2ray and b/appsbin/v2ray-bin/linux_mips/v2ray differ diff --git a/appstore/baidupcs_darwin_x86_64.tar.gz b/appstore/baidupcs_darwin_x86_64.tar.gz index 7759e7c..84d41d3 100644 Binary files a/appstore/baidupcs_darwin_x86_64.tar.gz and b/appstore/baidupcs_darwin_x86_64.tar.gz differ diff --git a/appstore/baidupcs_linux_arm.tar.gz b/appstore/baidupcs_linux_arm.tar.gz index f7c7901..4b83694 100644 Binary files a/appstore/baidupcs_linux_arm.tar.gz and b/appstore/baidupcs_linux_arm.tar.gz differ diff --git a/appstore/baidupcs_linux_mips.tar.gz b/appstore/baidupcs_linux_mips.tar.gz index 20e32e6..bb12d40 100644 Binary files a/appstore/baidupcs_linux_mips.tar.gz and b/appstore/baidupcs_linux_mips.tar.gz differ diff --git a/appstore/baidupcs_linux_x86_64.tar.gz b/appstore/baidupcs_linux_x86_64.tar.gz index 21719f9..eb1f0bb 100644 Binary files a/appstore/baidupcs_linux_x86_64.tar.gz and b/appstore/baidupcs_linux_x86_64.tar.gz differ diff --git a/appstore/entware_linux_arm.tar.gz b/appstore/entware_linux_arm.tar.gz index 61611bf..48e4e81 100644 Binary files a/appstore/entware_linux_arm.tar.gz and b/appstore/entware_linux_arm.tar.gz differ diff --git a/appstore/entware_linux_mips.tar.gz b/appstore/entware_linux_mips.tar.gz index 61611bf..48e4e81 100644 Binary files a/appstore/entware_linux_mips.tar.gz and b/appstore/entware_linux_mips.tar.gz differ diff --git a/appstore/entware_linux_x86_64.tar.gz b/appstore/entware_linux_x86_64.tar.gz index 61611bf..f38881f 100644 Binary files a/appstore/entware_linux_x86_64.tar.gz and b/appstore/entware_linux_x86_64.tar.gz differ diff --git a/appstore/history/baidupcs_darwin_x86_64.tar.gz b/appstore/history/baidupcs_darwin_x86_64.tar.gz index 90d3836..7759e7c 100644 Binary files a/appstore/history/baidupcs_darwin_x86_64.tar.gz and b/appstore/history/baidupcs_darwin_x86_64.tar.gz differ diff --git a/appstore/history/baidupcs_linux_arm.tar.gz b/appstore/history/baidupcs_linux_arm.tar.gz index 6b20cbc..f7c7901 100644 Binary files a/appstore/history/baidupcs_linux_arm.tar.gz and b/appstore/history/baidupcs_linux_arm.tar.gz differ diff --git a/appstore/history/baidupcs_linux_mips.tar.gz b/appstore/history/baidupcs_linux_mips.tar.gz index 18373e3..20e32e6 100644 Binary files a/appstore/history/baidupcs_linux_mips.tar.gz and b/appstore/history/baidupcs_linux_mips.tar.gz differ diff --git a/appstore/history/baidupcs_linux_x86_64.tar.gz b/appstore/history/baidupcs_linux_x86_64.tar.gz index 771029a..21719f9 100644 Binary files a/appstore/history/baidupcs_linux_x86_64.tar.gz and b/appstore/history/baidupcs_linux_x86_64.tar.gz differ diff --git a/appstore/history/entware_linux_arm.tar.gz b/appstore/history/entware_linux_arm.tar.gz index 26e61a1..61611bf 100644 Binary files a/appstore/history/entware_linux_arm.tar.gz and b/appstore/history/entware_linux_arm.tar.gz differ diff --git a/appstore/history/entware_linux_mips.tar.gz b/appstore/history/entware_linux_mips.tar.gz index 26e61a1..61611bf 100644 Binary files a/appstore/history/entware_linux_mips.tar.gz and b/appstore/history/entware_linux_mips.tar.gz differ diff --git a/appstore/history/entware_linux_x86_64.tar.gz b/appstore/history/entware_linux_x86_64.tar.gz index 26e61a1..61611bf 100644 Binary files a/appstore/history/entware_linux_x86_64.tar.gz and b/appstore/history/entware_linux_x86_64.tar.gz differ diff --git a/appstore/history/miwifi_linux_arm.tar.gz b/appstore/history/miwifi_linux_arm.tar.gz index 58690d8..e368397 100644 Binary files a/appstore/history/miwifi_linux_arm.tar.gz and b/appstore/history/miwifi_linux_arm.tar.gz differ diff --git a/appstore/history/miwifi_linux_mips.tar.gz b/appstore/history/miwifi_linux_mips.tar.gz index 58690d8..8c6dc04 100644 Binary files a/appstore/history/miwifi_linux_mips.tar.gz and b/appstore/history/miwifi_linux_mips.tar.gz differ diff --git a/appstore/history/shadowsocks_linux_arm.tar.gz b/appstore/history/shadowsocks_linux_arm.tar.gz index 0b896f0..bc868a7 100644 Binary files a/appstore/history/shadowsocks_linux_arm.tar.gz and b/appstore/history/shadowsocks_linux_arm.tar.gz differ diff --git a/appstore/history/shadowsocks_linux_mips.tar.gz b/appstore/history/shadowsocks_linux_mips.tar.gz index 42920b9..7226237 100644 Binary files a/appstore/history/shadowsocks_linux_mips.tar.gz and b/appstore/history/shadowsocks_linux_mips.tar.gz differ diff --git a/appstore/history/shadowsocks_linux_x86_64.tar.gz b/appstore/history/shadowsocks_linux_x86_64.tar.gz index cf82e2f..41b0617 100644 Binary files a/appstore/history/shadowsocks_linux_x86_64.tar.gz and b/appstore/history/shadowsocks_linux_x86_64.tar.gz differ diff --git a/appstore/history/verysync_linux_arm.tar.gz b/appstore/history/verysync_linux_arm.tar.gz index 626ece1..418ce15 100644 Binary files a/appstore/history/verysync_linux_arm.tar.gz and b/appstore/history/verysync_linux_arm.tar.gz differ diff --git a/appstore/history/verysync_linux_mips.tar.gz b/appstore/history/verysync_linux_mips.tar.gz index 024c782..1eb95b0 100644 Binary files a/appstore/history/verysync_linux_mips.tar.gz and b/appstore/history/verysync_linux_mips.tar.gz differ diff --git a/appstore/history/verysync_linux_x86_64.tar.gz b/appstore/history/verysync_linux_x86_64.tar.gz index 3f5a5e2..8ad515f 100644 Binary files a/appstore/history/verysync_linux_x86_64.tar.gz and b/appstore/history/verysync_linux_x86_64.tar.gz differ diff --git a/appstore/miwifi_linux_arm.tar.gz b/appstore/miwifi_linux_arm.tar.gz index e368397..8b9a732 100644 Binary files a/appstore/miwifi_linux_arm.tar.gz and b/appstore/miwifi_linux_arm.tar.gz differ diff --git a/appstore/miwifi_linux_mips.tar.gz b/appstore/miwifi_linux_mips.tar.gz index 8c6dc04..e65af3a 100644 Binary files a/appstore/miwifi_linux_mips.tar.gz and b/appstore/miwifi_linux_mips.tar.gz differ diff --git a/appstore/shadowsocks_linux_arm.tar.gz b/appstore/shadowsocks_linux_arm.tar.gz index bc868a7..e201b11 100644 Binary files a/appstore/shadowsocks_linux_arm.tar.gz and b/appstore/shadowsocks_linux_arm.tar.gz differ diff --git a/appstore/shadowsocks_linux_mips.tar.gz b/appstore/shadowsocks_linux_mips.tar.gz index 7226237..b32e738 100644 Binary files a/appstore/shadowsocks_linux_mips.tar.gz and b/appstore/shadowsocks_linux_mips.tar.gz differ diff --git a/appstore/shadowsocks_linux_x86_64.tar.gz b/appstore/shadowsocks_linux_x86_64.tar.gz index 41b0617..ff5020a 100644 Binary files a/appstore/shadowsocks_linux_x86_64.tar.gz and b/appstore/shadowsocks_linux_x86_64.tar.gz differ diff --git a/appstore/verysync_linux_arm.tar.gz b/appstore/verysync_linux_arm.tar.gz index 418ce15..df1dd8a 100644 Binary files a/appstore/verysync_linux_arm.tar.gz and b/appstore/verysync_linux_arm.tar.gz differ diff --git a/appstore/verysync_linux_mips.tar.gz b/appstore/verysync_linux_mips.tar.gz index 1eb95b0..f9c53c7 100644 Binary files a/appstore/verysync_linux_mips.tar.gz and b/appstore/verysync_linux_mips.tar.gz differ diff --git a/appstore/verysync_linux_x86_64.tar.gz b/appstore/verysync_linux_x86_64.tar.gz index 8ad515f..c810460 100644 Binary files a/appstore/verysync_linux_x86_64.tar.gz and b/appstore/verysync_linux_x86_64.tar.gz differ diff --git a/tools/gitsync.sh b/tools/gitsync.sh index ae1a246..e7794e5 100755 --- a/tools/gitsync.sh +++ b/tools/gitsync.sh @@ -5,7 +5,7 @@ cd $path #find . -name '._*' -type f -print -exec rm -rf {} \; find . -name '.DS_Store' | xargs rm -rf find . -name '._*' | xargs rm -rf -[ "$(uname -m)" = "Darwin" ] && args="\"\"" +[ "$(uname -m)" = "Darwin" ] && args="\"\"" || args="" github_url="https://github.com/monlor/MIXBOX.git" github_raw="https://raw.githubusercontent.com/MIXBOX/master" @@ -18,7 +18,7 @@ inside_raw="https://dev.tencent.com/u/monlor/p/MIXBOX-BETA/git/raw/master" version() { local appname="$1" eval `cat apps/${appname}/config/${appname}.uci | grep version` - sed -i "$args" '/version/d' apps/${appname}/config/${appname}.uci + sed -i $args '/version/d' apps/${appname}/config/${appname}.uci num1=$(echo "$version" | cut -d'.' -f1) num2=$(echo "$version" | cut -d'.' -f2) num3=$(echo "$version" | cut -d'.' -f3) @@ -95,7 +95,7 @@ localgit() { github() { - sed -i "$args" "s#^mburl.*#mburl=\"$github_raw\"#" ./install.sh + sed -i $args "s#^mburl.*#mburl=\"$github_raw\"#" ./install.sh localgit git remote rm origin git remote add origin $github_url @@ -104,7 +104,7 @@ github() { coding() { - sed -i "$args" "s#^mburl.*#mburl=\"$coding_raw\"#" ./install.sh + sed -i $args "s#^mburl.*#mburl=\"$coding_raw\"#" ./install.sh localgit git remote rm origin git remote add origin $coding_url @@ -113,7 +113,7 @@ coding() { inside() { - sed -i "$args" "s#^mburl.*#mburl=\"$inside_raw\"#" ./install.sh + sed -i $args "s#^mburl.*#mburl=\"$inside_raw\"#" ./install.sh localgit git remote rm origin git remote add origin $inside_url