Use framework-dependent Windows release
Some checks failed
build / build-test-publish (push) Has been cancelled
Some checks failed
build / build-test-publish (push) Has been cancelled
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
||||
dotnet publish src/Ehwrj.App/Ehwrj.App.csproj
|
||||
-c Release
|
||||
-r win-x64
|
||||
--self-contained true
|
||||
--self-contained false
|
||||
-p:PublishSingleFile=false
|
||||
-p:PublishDir=artifacts/win-x64/
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ If the dependencies are already installed:
|
||||
dotnet restore ehwrj/Ehwrj.sln
|
||||
dotnet build ehwrj/Ehwrj.sln -c Release
|
||||
dotnet run --project ehwrj/tests/Ehwrj.Tests/Ehwrj.Tests.csproj -c Release
|
||||
dotnet publish ehwrj/src/Ehwrj.App/Ehwrj.App.csproj -c Release -r win-x64 --self-contained true \
|
||||
dotnet publish ehwrj/src/Ehwrj.App/Ehwrj.App.csproj -c Release -r win-x64 --self-contained false \
|
||||
-p:PublishSingleFile=false
|
||||
```
|
||||
|
||||
|
||||
Binary file not shown.
@@ -6,6 +6,12 @@ This release package contains only the rebuilt benign application and its runtim
|
||||
|
||||
## Run
|
||||
|
||||
Prerequisite:
|
||||
|
||||
- Install Microsoft .NET 8 Desktop Runtime for Windows x64.
|
||||
|
||||
Steps:
|
||||
|
||||
1. Start War Thunder.
|
||||
2. Confirm the local map is available at `http://127.0.0.1:8111/map_info.json`.
|
||||
3. Run `Ehwrj.exe`.
|
||||
@@ -30,5 +36,5 @@ Settings are saved under:
|
||||
- `Ehwrj.exe`: Windows application launcher
|
||||
- `Ehwrj.dll`: application code
|
||||
- `Ehwrj.Core.dll`: local API parsing and projection logic
|
||||
- `*.dll`, `*.json`: .NET, Avalonia, and native runtime dependencies
|
||||
- `*.dll`, `*.json`: application and Avalonia dependencies
|
||||
- `SHA256SUMS.txt`: package file checksums
|
||||
|
||||
@@ -51,8 +51,12 @@ cp "$ROOT_DIR/docs/release-security.md" "$PACKAGE_DIR/SECURITY.md"
|
||||
cp "$ROOT_DIR/LICENSE" "$PACKAGE_DIR/LICENSE"
|
||||
|
||||
cat > "$PACKAGE_DIR/RUNNING.txt" <<'EOF'
|
||||
Ehwrj portable Windows x64 build
|
||||
Ehwrj Windows x64 build
|
||||
|
||||
Prerequisite:
|
||||
- Install Microsoft .NET 8 Desktop Runtime for Windows x64.
|
||||
|
||||
Run:
|
||||
1. Start War Thunder.
|
||||
2. Confirm the local map is available at http://127.0.0.1:8111/map_info.json.
|
||||
3. Run Ehwrj.exe.
|
||||
|
||||
@@ -13,6 +13,6 @@ dotnet run --project "$ROOT_DIR/tools/Ehwrj.Tools.Capture/Ehwrj.Tools.Capture.cs
|
||||
dotnet publish "$ROOT_DIR/src/Ehwrj.App/Ehwrj.App.csproj" \
|
||||
-c Release \
|
||||
-r win-x64 \
|
||||
--self-contained true \
|
||||
--self-contained false \
|
||||
-p:PublishSingleFile=false
|
||||
"$ROOT_DIR/scripts/package-win-x64.sh" >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user