From 35dd2fc1326c1496d2401c03ff7f5b4a11585d2c Mon Sep 17 00:00:00 2001 From: Li Date: Sun, 17 Jul 2022 17:05:17 +1200 Subject: [PATCH] Need root >_< --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2996d62..fe8c129 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: run: | dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease cd HISPd - dotnet publish -r linux-x64 -c Linux --self-contained + dotnet publish -r linux-x64 -c Linux /p:Platform=z64 --self-contained mkdir -p "HISPd/bin/x64/Linux/net7.0/linux-x64/native/gamedata" cp -r "../../HorseIsleData/gamedata" "HISPd/bin/x64/Linux/net7.0/linux-x64/native" cp "../../HorseIsleData/HI1.MAP" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HI1.MAP" @@ -175,7 +175,7 @@ jobs: continue-on-error: false run: | dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease - dotnet publish -r win-x64 -c Windows --self-contained + dotnet publish -r win-x64 -c Windows /p:Platform=z64 --self-contained tree /F /A mkdir "HISPd\bin\x64\Windows\net7.0\win-x64\native\gamedata" copy "..\HorseIsleData\gamedata\*" "HISPd\bin\x64\Windows\net7.0\win-x64\native\gamedata"