Use framework-dependent Windows release
Some checks failed
build / build-test-publish (push) Has been cancelled

This commit is contained in:
2026-06-03 01:10:52 +09:00
parent d29752a91e
commit f2e8d12434
6 changed files with 15 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ jobs:
dotnet publish src/Ehwrj.App/Ehwrj.App.csproj dotnet publish src/Ehwrj.App/Ehwrj.App.csproj
-c Release -c Release
-r win-x64 -r win-x64
--self-contained true --self-contained false
-p:PublishSingleFile=false -p:PublishSingleFile=false
-p:PublishDir=artifacts/win-x64/ -p:PublishDir=artifacts/win-x64/

View File

@@ -73,7 +73,7 @@ If the dependencies are already installed:
dotnet restore ehwrj/Ehwrj.sln dotnet restore ehwrj/Ehwrj.sln
dotnet build ehwrj/Ehwrj.sln -c Release dotnet build ehwrj/Ehwrj.sln -c Release
dotnet run --project ehwrj/tests/Ehwrj.Tests/Ehwrj.Tests.csproj -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 -p:PublishSingleFile=false
``` ```

Binary file not shown.

View File

@@ -6,6 +6,12 @@ This release package contains only the rebuilt benign application and its runtim
## Run ## Run
Prerequisite:
- Install Microsoft .NET 8 Desktop Runtime for Windows x64.
Steps:
1. Start War Thunder. 1. Start War Thunder.
2. Confirm the local map is available at `http://127.0.0.1:8111/map_info.json`. 2. Confirm the local map is available at `http://127.0.0.1:8111/map_info.json`.
3. Run `Ehwrj.exe`. 3. Run `Ehwrj.exe`.
@@ -30,5 +36,5 @@ Settings are saved under:
- `Ehwrj.exe`: Windows application launcher - `Ehwrj.exe`: Windows application launcher
- `Ehwrj.dll`: application code - `Ehwrj.dll`: application code
- `Ehwrj.Core.dll`: local API parsing and projection logic - `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 - `SHA256SUMS.txt`: package file checksums

View File

@@ -51,8 +51,12 @@ cp "$ROOT_DIR/docs/release-security.md" "$PACKAGE_DIR/SECURITY.md"
cp "$ROOT_DIR/LICENSE" "$PACKAGE_DIR/LICENSE" cp "$ROOT_DIR/LICENSE" "$PACKAGE_DIR/LICENSE"
cat > "$PACKAGE_DIR/RUNNING.txt" <<'EOF' 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. 1. Start War Thunder.
2. Confirm the local map is available at http://127.0.0.1:8111/map_info.json. 2. Confirm the local map is available at http://127.0.0.1:8111/map_info.json.
3. Run Ehwrj.exe. 3. Run Ehwrj.exe.

View File

@@ -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" \ dotnet publish "$ROOT_DIR/src/Ehwrj.App/Ehwrj.App.csproj" \
-c Release \ -c Release \
-r win-x64 \ -r win-x64 \
--self-contained true \ --self-contained false \
-p:PublishSingleFile=false -p:PublishSingleFile=false
"$ROOT_DIR/scripts/package-win-x64.sh" >/dev/null "$ROOT_DIR/scripts/package-win-x64.sh" >/dev/null