mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Update linux.yml
This commit is contained in:
parent
0d33b2e855
commit
9fefe2ceab
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue