stoneage8.5/石器时代服务器端最新完整源代码/Serv/gmsv/longzoro.sh
2020-06-22 17:49:02 +08:00

13 lines
485 B
Bash

#!/bin/sh
OUT=./longzoro.h
touch callfromac.c
echo "#ifdef _VERSION_NEW" > $OUT
echo "#define SERVER_VERSION \"石器时代特别版 "$(date +%Y年%m月%d日%H:%M:%S)"\"" >> $OUT
echo "#else" >> $OUT
echo "#ifdef _VERSION_25" >> $OUT
echo "#define SERVER_VERSION \"All Blue's Saserver 2.5 "$(date +%Y年%m月%d日%H:%M:%S)"\"" >> $OUT
echo "#else" >> $OUT
echo "#define SERVER_VERSION \"All Blue's Saserver 8.0 "$(date +%Y年%m月%d日%H:%M:%S)"\"" >> $OUT
echo "#endif" >> $OUT
echo "#endif" >> $OUT