Skip to content

Commit

Permalink
modify build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sadoneli committed Nov 23, 2021
1 parent a61586e commit 93e02b9
Show file tree
Hide file tree
Showing 30 changed files with 76 additions and 125 deletions.
4 changes: 3 additions & 1 deletion acme/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh

MODULE=acme
# build script for armsoft project

MODULE="acme"
VERSION="3.4"
TITLE="Let's Encrypt"
DESCRIPTION="自动部署SSL证书"
Expand Down
13 changes: 3 additions & 10 deletions aliddns/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="aliddns"
VERSION="2.1"
TITLE="阿里DDNS"
Expand All @@ -9,16 +11,7 @@ TAGS="DDNS"
AUTHOR="kyrios, sadog"

# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
2 changes: 2 additions & 0 deletions aria2/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="aria2"
VERSION="2.2"
TITLE="aria2"
Expand Down
12 changes: 3 additions & 9 deletions center/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="center"
VERSION="1.3"
TITLE="koolcenter 一键切换"
Expand All @@ -9,16 +11,8 @@ TAGS="辅助 工具"
AUTHOR="sadog"

# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
2 changes: 2 additions & 0 deletions cfddns/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="cfddns"
VERSION="1.0"
TITLE="CloudFlare DDNS"
Expand Down
12 changes: 3 additions & 9 deletions ddnspod/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="ddnspod"
VERSION="1.5"
TITLE="ddnspod"
Expand All @@ -9,16 +11,8 @@ TAGS="DDNS"
AUTHOR="freexiaoyao"

# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
2 changes: 2 additions & 0 deletions ddnsto/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="ddnsto"
VERSION="2.4"
TITLE="ddnsto"
Expand Down
2 changes: 2 additions & 0 deletions easyexplorer/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="easyexplorer"
VERSION="2.4"
TITLE="易有云"
Expand Down
2 changes: 2 additions & 0 deletions fastd1ck/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="fastd1ck"
VERSION="1.6"
TITLE="迅雷快鸟"
Expand Down
2 changes: 2 additions & 0 deletions frpc/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="frpc"
VERSION="1.6"
TITLE="frpc内网穿透"
Expand Down
2 changes: 2 additions & 0 deletions frps/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="frps"
VERSION="1.5"
TITLE="frps穿透服务器"
Expand Down
12 changes: 3 additions & 9 deletions kms/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="kms"
VERSION="1.5"
TITLE="系统工具"
Expand All @@ -9,16 +11,8 @@ HOME_URL="Module_kms.asp"
TAGS="辅助 工具"

# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
3 changes: 3 additions & 0 deletions koolcenter/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh

# build script for armsoft project

VERSION=1.9.0.20
echo $VERSION > ./softcenter/.soft_ver

Expand Down
2 changes: 2 additions & 0 deletions koolproxy/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="koolproxy"
VERSION="3.8.4.1"
TITLE="KidsProtect"
Expand Down
2 changes: 2 additions & 0 deletions mdial/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="mdial"
VERSION="1.3"
TITLE="单线多拨"
Expand Down
12 changes: 3 additions & 9 deletions pushplus/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="pushplus"
VERSION="0.3"
TITLE="pushplus全能推送"
Expand All @@ -9,16 +11,8 @@ TAGS="推送"
AUTHOR="囍冯总囍"

# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
2 changes: 2 additions & 0 deletions qiandao/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="qiandao"
VERSION="1.5"
TITLE="自动签到"
Expand Down
2 changes: 2 additions & 0 deletions reboothelper/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="reboothelper"
VERSION="0.6"
TITLE="重启助手"
Expand Down
2 changes: 2 additions & 0 deletions rog/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="rog"
VERSION="2.7"
TITLE="ASUS工具箱"
Expand Down
12 changes: 3 additions & 9 deletions routerhook/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="routerhook"
VERSION="1.1"
TITLE="RouterHook事件回调"
Expand All @@ -10,16 +12,8 @@ AUTHOR="囍冯总囍"
LINK="https://koolshare.cn/thread-178114-1-1.html"

# Check and include base
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
12 changes: 3 additions & 9 deletions serverchan/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="serverchan"
VERSION="1.4.1"
TITLE="ServerChan微信推送"
Expand All @@ -9,16 +11,8 @@ TAGS="推送"
AUTHOR="clang"

# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
13 changes: 3 additions & 10 deletions shellinabox/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="shellinabox"
VERSION="1.5"
TITLE="shellinabox"
Expand All @@ -9,16 +11,7 @@ TAGS="系统 工具"
AUTHOR="sadog"

# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
3 changes: 3 additions & 0 deletions softcenter/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#! /bin/sh

# build script for armsoft project

VERSION=1.2.2

echo $VERSION > ./softcenter/.soft_ver
Expand Down
13 changes: 3 additions & 10 deletions softether/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="softether"
VERSION="1.9"
TITLE="SoftEther_VPN_Server"
Expand All @@ -9,16 +11,7 @@ TAGS="网络 VPN"
AUTHOR="sadog"

# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
13 changes: 3 additions & 10 deletions ssid/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# build script for armsoft project

MODULE="ssid"
VERSION="1.3"
TITLE="中文SSID"
Expand All @@ -9,16 +11,7 @@ TAGS="系统 工具"
AUTHOR="sadog"

# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi

if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi
DIR="$( cd "$( dirname "$BASH_SOURCE[0]" )" && pwd )"

# now include build_base.sh
. $DIR/../softcenter/build_base.sh
Expand Down
Loading

0 comments on commit 93e02b9

Please sign in to comment.