diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 085826e..861e9f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/ diff --git a/README.md b/README.md index 54087ca..f02bee2 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/artifacts/ehwrj-win-x64.zip b/artifacts/ehwrj-win-x64.zip index 92642dc..8880536 100644 Binary files a/artifacts/ehwrj-win-x64.zip and b/artifacts/ehwrj-win-x64.zip differ diff --git a/docs/release-readme.md b/docs/release-readme.md index 69bc2f3..03d6489 100644 --- a/docs/release-readme.md +++ b/docs/release-readme.md @@ -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 diff --git a/scripts/package-win-x64.sh b/scripts/package-win-x64.sh index 56a6327..5b0d8b5 100755 --- a/scripts/package-win-x64.sh +++ b/scripts/package-win-x64.sh @@ -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. diff --git a/scripts/publish-win-x64.sh b/scripts/publish-win-x64.sh index 90ce8da..1c6b395 100755 --- a/scripts/publish-win-x64.sh +++ b/scripts/publish-win-x64.sh @@ -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