stoneage8.5/石器时代服务器端最新完整源代码/Serv/gmsv/longzoro.sh

13 lines
485 B
Bash
Raw Normal View History

#!/bin/sh
OUT=./longzoro.h
touch callfromac.c
echo "#ifdef _VERSION_NEW" > $OUT
echo "#define SERVER_VERSION \"ʯ<><CAAF>ʱ<EFBFBD><CAB1><EFBFBD>ر<EFBFBD><D8B1><EFBFBD> "$(date +%Y<><59>%m<><6D>%d<><64>%H:%M:%S)"\"" >> $OUT
echo "#else" >> $OUT
echo "#ifdef _VERSION_25" >> $OUT
echo "#define SERVER_VERSION \"All Blue's Saserver 2.5 "$(date +%Y<><59>%m<><6D>%d<><64>%H:%M:%S)"\"" >> $OUT
echo "#else" >> $OUT
echo "#define SERVER_VERSION \"All Blue's Saserver 8.0 "$(date +%Y<><59>%m<><6D>%d<><64>%H:%M:%S)"\"" >> $OUT
echo "#endif" >> $OUT
echo "#endif" >> $OUT