diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88bdaec2..dea29ea6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -615,6 +615,11 @@ jobs: mkdir -p release-assets/upload + if [ "$IS_PRERELEASE" = "true" ] && [ "$RELEASE_SCOPE" != "all" ]; then + echo "Prerelease beta updates must include all platforms so every opted-in client can resolve beta metadata." + exit 1 + fi + required_metadata=( release-assets/windows-x64/latest.yml release-assets/linux-x64/latest-linux.yml diff --git a/electron/windows.ts b/electron/windows.ts index 52a438b7..f45a9d97 100644 --- a/electron/windows.ts +++ b/electron/windows.ts @@ -223,7 +223,7 @@ function getUpdateToastBounds() { const { workArea } = primaryDisplay; return { x: Math.round(workArea.x + (workArea.width - UPDATE_TOAST_WIDTH) / 2), - y: workArea.y + HUD_EDGE_MARGIN_DIP, + y: Math.round(workArea.y + workArea.height - UPDATE_TOAST_HEIGHT - HUD_EDGE_MARGIN_DIP), width: UPDATE_TOAST_WIDTH, height: UPDATE_TOAST_HEIGHT, };