Update thingy

This commit is contained in:
Li 2022-07-17 16:16:30 +12:00
parent 7fb2673de0
commit c51103cda8

View file

@ -36,13 +36,13 @@ jobs:
dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease
cd HISPd cd HISPd
dotnet publish -r linux-x64 -c Linux --self-contained dotnet publish -r linux-x64 -c Linux --self-contained
mkdir "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata" mkdir -p "HISPd/bin/x64/Linux/net7.0/linux-x64/native/gamedata"
cp "..\HorseIsleData\gamedata\*" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata" cp -r "../HorseIsleData/gamedata/." "HISPd/bin/x64/Linux/net7.0/linux-x64/native/gamedata"
cp "..\HorseIsleData\HI1.MAP" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HI1.MAP" cp "../HorseIsleData/HI1.MAP" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HI1.MAP"
cp "HISPd\bin\x64\Linux\net7.0\linux-x64\e_sqlite3.dll" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\e_sqlite3.dll" cp "HISPd/bin/x64/Linux/net7.0/linux-x64/e_sqlite3.so" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/e_sqlite3.so"
rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.pdb" rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.pdb"
rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.lib" rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.lib"
rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.exp" rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.exp"
dotnet remove HISPd package Microsoft.DotNet.ILCompiler dotnet remove HISPd package Microsoft.DotNet.ILCompiler
cd .. cd ..