From e374bc1e8e21b381c4bda2a573ea0bf97694b1b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Fri, 9 Oct 2026 21:31:36 -0400 Subject: [PATCH] Release: drop an empty CSC_LINK so the keychain identity signs the macOS build electron-builder read the empty secret as a certificate path and failed with "not a file". Also keeps lighting.ts types module-private. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release-build.yml | 2 ++ src/renderer/src/pages/office/lighting.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 45a54d8b..69e02910 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -112,6 +112,8 @@ jobs: APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }} APPLE_API_KEY_P8: ${{ secrets.APPLE_API_KEY_P8 }} run: | + # An empty CSC_LINK reads as a certificate path; the keychain signs instead. + [ -n "$CSC_LINK" ] || unset CSC_LINK CSC_KEY_PASSWORD printf '%s' "$APPLE_API_KEY_P8" > "$APPLE_API_KEY" trap 'rm -f "$APPLE_API_KEY"' EXIT pnpm build diff --git a/src/renderer/src/pages/office/lighting.ts b/src/renderer/src/pages/office/lighting.ts index 78144042..56a0837c 100644 --- a/src/renderer/src/pages/office/lighting.ts +++ b/src/renderer/src/pages/office/lighting.ts @@ -4,7 +4,7 @@ import type { DayPart } from "../../shared/palette-clock"; import { BACK_WALL_H, toIso, type IsoFrame } from "./iso"; import { WALL } from "./floor-plan"; -export interface Light { +interface Light { at: Vec; z: number; /** Reach in iso pixels. */ @@ -66,7 +66,7 @@ export function ditherLevels(data: Uint8ClampedArray, width: number): void { } } -export interface LightingInput { +interface LightingInput { frame: IsoFrame; camera: Camera; /** Scene pixels per iso pixel. */