You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
584 B

#!/bin/bash
project=./ILRuntime/HotFix_Project
destDir=../mgame_cli/mGame/Assets/Resources/HotFixBytes
rm ${project}/obj/Debug/HotFix_Project.dll
rm ${project}/obj/Debug/HotFix_Project.dll.mdb
mdtool build ${project}/HotFix_Project.sln
srcDll=${project}/obj/Debug/HotFix_Project.dll
if [ ! -f ${srcDll} ]; then
echo "build HotFix_Project.dll failed"
exit -1
fi
if [ ! -d ${destDir} ]; then
mkdir ${destDir}
fi
cp ${project}/obj/Debug/HotFix_Project.dll ${destDir}/HotFix_Project.dll.bytes
cp ${project}/obj/Debug/HotFix_Project.dll.mdb ${destDir}/HotFix_Project.pdb.bytes