mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Update readme and actions
This commit is contained in:
parent
24ab1fb700
commit
7badc298d3
10
.github/workflows/nightly.yml
vendored
10
.github/workflows/nightly.yml
vendored
|
|
@ -22,11 +22,13 @@ jobs:
|
|||
- name: Setup msbuild
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
||||
- name: Configure
|
||||
run: cmake -B out/build --preset windows64
|
||||
- name: Build
|
||||
run: MSBuild.exe MinecraftConsoles.sln /p:Configuration=Release /p:Platform="Windows64"
|
||||
run: cmake --build out/build --preset windows64-release --target Minecraft.Client
|
||||
|
||||
- name: Zip Build
|
||||
run: 7z a -r LCEWindows64.zip ./x64/Release/*
|
||||
run: 7z a -r LCEWindows64.zip ./out/build/Minecraft.Client/Release/*
|
||||
|
||||
- name: Update release
|
||||
uses: andelf/nightly-release@main
|
||||
|
|
@ -42,5 +44,5 @@ jobs:
|
|||
If you've never downloaded the game before, you need to download `LCEWindows64.zip` and extract it to the folder where you'd like to keep the game. The other files are included in this `.zip` file!
|
||||
files: |
|
||||
LCEWindows64.zip
|
||||
./x64/Release/Minecraft.Client.exe
|
||||
./x64/Release/Minecraft.Client.pdb
|
||||
./out/build/Minecraft.Client/Release/Minecraft.Client.exe
|
||||
./out/build/Minecraft.Client/Release/Minecraft.Client.pdb
|
||||
|
|
|
|||
11
README.md
11
README.md
|
|
@ -77,17 +77,16 @@ Minecraft.Client.exe -name Steve -fullscreen
|
|||
|
||||
## Build & Run
|
||||
|
||||
1. Install [Visual Studio 2022](https://aka.ms/vs/17/release/vs_community.exe).
|
||||
1. Install [Visual Studio 2022](https://aka.ms/vs/17/release/vs_community.exe) or [newer](https://visualstudio.microsoft.com/downloads/).
|
||||
2. Clone the repository.
|
||||
3. Open the project by double-clicking `MinecraftConsoles.sln`.
|
||||
4. Make sure `Minecraft.Client` is set as the Startup Project.
|
||||
5. Set the build configuration to **Debug** (Release is also ok but missing some debug features) and the target platform to **Windows64**, then build and run.
|
||||
3. Open the project folder from Visual Studio.
|
||||
5. Set the build configuration to **Windows - Debug** (Release is also ok but missing some debug features), then build and run.
|
||||
|
||||
### CMake (Windows x64)
|
||||
|
||||
```powershell
|
||||
cmake -S . -B build -G "Visual Studio 17 2022" -A x64
|
||||
cmake --build build --config Debug --target MinecraftClient
|
||||
cmake -B out/build --preset windows64
|
||||
cmake --build out/build --preset windows64-release --target Minecraft.Client
|
||||
```
|
||||
|
||||
For more information, see [COMPILE.md](COMPILE.md).
|
||||
|
|
|
|||
Loading…
Reference in a new issue