mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-04-27 13:11:07 +00:00
Compare commits
10 Commits
deploy-202
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20bc614a0d | ||
|
|
34383b4822 | ||
|
|
d2900f10af | ||
|
|
d596fc1459 | ||
|
|
6a9775ec7e | ||
|
|
cd2e72b39f | ||
|
|
bad4399228 | ||
|
|
7507e83f00 | ||
|
|
2368ae18ed | ||
|
|
afd444a45f |
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@@ -7,13 +7,6 @@ on:
|
||||
- master
|
||||
- test
|
||||
- dev
|
||||
tags-ignore:
|
||||
- deploy-*
|
||||
- test-*
|
||||
- master-*
|
||||
ignore-paths:
|
||||
- '.github'
|
||||
- 'README.md'
|
||||
pull_request:
|
||||
branchs:
|
||||
- master
|
||||
|
||||
@@ -3,5 +3,5 @@ appname="mixbox"
|
||||
needver=""
|
||||
supports="linux_arm,linux_mips,linux_x86_64"
|
||||
appinfo="一款支持多平台,多架构的Shell工具箱"
|
||||
newinfo="新增base64_encode工具"
|
||||
version="0.1.9.2"
|
||||
newinfo="修复插件安装失败的bug"
|
||||
version="0.1.9.3"
|
||||
|
||||
@@ -13,10 +13,10 @@ wgetsh() {
|
||||
result1=$(curl -skL --connect-timeout 10 -m 20 -w %{http_code} -o "${mbtmp}/${wgetfilename}" "$wgeturl")
|
||||
else
|
||||
wget-ssl -q --no-check-certificate --tries=1 --timeout=10 -O "${mbtmp}/${wgetfilename}" "$wgeturl"
|
||||
[ $? -eq 0 ] && result="200"
|
||||
[ $? -eq 0 ] && result1="200"
|
||||
fi
|
||||
[ -f "${mbtmp}/${wgetfilename}" ] && result2=$(du -sh "${mbtmp}/${wgetfilename}" 2> /dev/null | awk '{print$1}')
|
||||
if [ "$result" = "200" ] && [ "$result2" != '0' ]; then
|
||||
if [ "$result1" = "200" ] && [ "$result2" != '0' ]; then
|
||||
chmod +x ${mbtmp}/${wgetfilename} > /dev/null 2>&1
|
||||
mv -f ${mbtmp}/${wgetfilename} $wgetfilepath > /dev/null 2>&1
|
||||
return 0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
#copyright by monlor
|
||||
|
||||
|
||||
clear
|
||||
logsh() {
|
||||
# 输出信息到/tmp/messages和标准输出
|
||||
|
||||
Reference in New Issue
Block a user