Root cause: ad-hoc signatures default to designated => cdhash, which changes every build, and TCC stores Screen Recording/Accessibility grants against it, so a rebuilt app showed 'Not allowed' with its switch on. finalize-app.mjs re-signs with designated => identifier "com.openclicky.app" (helper/voice likewise) and builds the DMG; app:install installs it. Settings gets 'Reset & ask again' (tccutil reset for com.openclicky.app only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
805 B
JSON
20 lines
805 B
JSON
{
|
|
"name": "openclicky",
|
|
"private": true,
|
|
"workspaces": [
|
|
"apps/desktop"
|
|
],
|
|
"scripts": {
|
|
"dev": "npm run tauri -w apps/desktop -- dev",
|
|
"build": "npm run build -w apps/desktop",
|
|
"tauri": "npm run tauri -w apps/desktop --",
|
|
"app:build": "npm run tauri -w apps/desktop -- build --bundles app && node scripts/finalize-app.mjs",
|
|
"app:build:universal": "npm run tauri -w apps/desktop -- build --bundles app --target universal-apple-darwin && node scripts/finalize-app.mjs target/universal-apple-darwin/release/bundle",
|
|
"placeholders": "node scripts/gen-placeholders.mjs",
|
|
"check": "cargo check --workspace && npm run build",
|
|
"test": "cargo test --workspace",
|
|
"assets:local": "node scripts/local-assets.mjs",
|
|
"app:install": "sh scripts/install-app.sh"
|
|
}
|
|
}
|