Skip to content

The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.

Trunk green after the desktop apps (PR 2069)

Tim Gutberlet222d7f996333
diff --git a/.github/workflows/desktop.yml b/.github/workflows/desktop.yml
index 2463ac70..97b81537 100644
--- a/.github/workflows/desktop.yml
+++ b/.github/workflows/desktop.yml
@@ -94,7 +94,9 @@ jobs:
pnpm dist:mac
else
# Ad-hoc signed (identity "-"): macOS shows notifications only from a signed app, and this one runs on this Mac.
- export CSC_IDENTITY_AUTO_DISCOVERY=false
+ # No certificate: the empty variables would make electron-builder look for one; a pull request signs too.
+ unset CSC_LINK CSC_KEY_PASSWORD
+ export CSC_IDENTITY_AUTO_DISCOVERY=false CSC_FOR_PULL_REQUEST=true
pnpm dist:mac -c.mac.notarize=false -c.mac.identity=-
fi
- name: Check the signature
@@ -126,7 +128,7 @@ jobs:
CSC_IDENTITY_AUTO_DISCOVERY: 'false'
run: |
node scripts/build.mjs
- pnpm exec electron-builder --mac dir --arm64 --publish never -c.directories.output=release-e2e -c.mac.notarize=false -c.mac.identity=-
+ pnpm exec electron-builder --mac dir --arm64 --publish never -c.directories.output=release-e2e -c.mac.notarize=false -c.mac.identity=null
cp -R release-e2e/mac-arm64/Linedesk.app /Applications/
- name: Test the installed app
working-directory: apps/desktop
diff --git a/apps/web/src/shell/setup-account-menu-routes.test.ts b/apps/web/src/shell/setup-account-menu-routes.test.ts
index 880351cb..5f530ce2 100644
--- a/apps/web/src/shell/setup-account-menu-routes.test.ts
+++ b/apps/web/src/shell/setup-account-menu-routes.test.ts
@@ -46,7 +46,14 @@ const MENU_HOSTS = ['onboarding/SetupTopBar.tsx', 'shell/SignedInAuthPage.tsx']
/** Pages before signing in: the bare card page, no account to show. */
// native/AppSignInPage.tsx: the app's sign-in hand-back in the system browser, which signs that browser out again.
-const SIGNED_OUT_ONLY = new Set(['Login.tsx', 'SignInLink.tsx', 'shell/SignedInAuthPage.tsx', 'native/AppSignInPage.tsx'])
+// native/OpenedInDesktopPage.tsx: a browser tab that handed its link to the desktop app; shown before the app starts.
+const SIGNED_OUT_ONLY = new Set([
+ 'Login.tsx',
+ 'SignInLink.tsx',
+ 'shell/SignedInAuthPage.tsx',
+ 'native/AppSignInPage.tsx',
+ 'native/OpenedInDesktopPage.tsx',
+])
function files(dir: string): string[] {
return readdirSync(dir).flatMap(name => {