Update linux.yml

This commit is contained in:
Twig6943 2026-03-06 05:42:17 +03:00 committed by GitHub
parent 0d33b2e855
commit 9fefe2ceab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,12 +34,14 @@ jobs:
export XDG_RUNTIME_DIR=/tmp/runtime-$UID
mkdir -p "$XDG_RUNTIME_DIR"
chmod 700 "$XDG_RUNTIME_DIR"
export WINEDEBUG=+all
export WINE=$(command -v wine64 || command -v wine || false)
$WINE wineboot
git clone https://github.com/mstorsjo/msvc-wine
./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
$WINE wineboot
./my_msvc/opt/msvc/bin/x64/msbuild MinecraftConsoles.sln /p:Configuration=Release /p:Platform="Windows64"
EOF