Update linux.yml

This commit is contained in:
Twig6943 2026-03-06 05:26:05 +03:00 committed by GitHub
parent 160fffdc13
commit 4c0d0177d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ jobs:
run: |
sudo -u builder sh <<'EOF'
set -e
export XDG_RUNTIME_DIR=/run/user/$UID
export XDG_RUNTIME_DIR=/tmp/runtime-$UID
mkdir -p "$XDG_RUNTIME_DIR"
chmod 700 "$XDG_RUNTIME_DIR"
export WINE=$(command -v wine64 || command -v wine || false)
@ -40,7 +40,7 @@ jobs:
./msvc-wine/vsdownload.py --accept-license --dest $(pwd)/my_msvc/opt/msvc
./msvc-wine/install.sh $(pwd)/my_msvc/opt/msvc
export PATH=$(pwd)/my_msvc/opt/msvc/bin/x64:$PATH
msbuild MinecraftConsoles.sln /p:Configuration=Release /p:Platform="Windows64"
./my_msvc/opt/msvc/bin/x64/msbuild MinecraftConsoles.sln /p:Configuration=Release /p:Platform="Windows64"
ls -l
EOF