13 lines
485 B
Bash
13 lines
485 B
Bash
![]() |
#!/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
|