1
0

feat: 将sshsvc移除

This commit is contained in:
TsMask
2025-07-16 15:46:20 +08:00
parent 6ab25532e5
commit f925645b88
14 changed files with 11 additions and 63 deletions

View File

@@ -83,7 +83,6 @@ if [ -n "$BuildApi" ]; then
find ./features -type f -name '*.go' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
find ./lib -type f -name '*.go' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
find ./src -type f -name '*.go' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
find ./sshsvc -type f -name '*.go' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
find ./build/vendor -type f -name '*.sql' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
find ./build/vendor -type f -name '*.sql' -exec sed -i "s/'true' WHERE \`config_id\`/'false' WHERE \`config_id\`/g" {} +
find ./build/vendor -type f -name '*.sql' -exec sed -i "s/'1' WHERE \`menu_id\`/'0' WHERE \`menu_id\`/g" {} +
@@ -96,12 +95,6 @@ if [ -n "$BuildApi" ]; then
cp -rf omc $output/omc
echo "===> go build omc copy to $output"
# sshsvc
cd $ApiDir/sshsvc
make
cp -rf sshsvc $output/sshsvc
echo "===> go build sshsvc copy to $output"
# Vendor Database
output=$BuildDir/linux/usr/local/etc/omc
dirs="database default vendor"