@davmash/bygone 0.8.4 → 0.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.8.5
6
+
7
+ - Fixed Homebrew cask `bygone` CLI launch on Apple Silicon by routing through a bundle-aware launcher script inside the app
8
+ - Documented the macOS **“app is damaged”** workaround for unsigned desktop downloads (README, releasing docs, PR Tour Guide skill)
9
+
5
10
  ## 0.8.4
6
11
 
7
12
  - Clarified PR Tour Guide skill install commands for project scope and agent-specific global installs
package/README.md CHANGED
@@ -137,6 +137,19 @@ Contributors should consult the internal [product surface overview](./docs/produ
137
137
 
138
138
  The desktop app also includes `Help -> Install Command Line Tools...` for non-npm installs. Homebrew cask installs can provide the `bygone` command automatically.
139
139
 
140
+ ### macOS says the app is damaged
141
+
142
+ Downloads from GitHub or Homebrew are **unsigned** (no Apple Developer ID signature yet). macOS Gatekeeper then shows a misleading **“damaged”** dialog.
143
+
144
+ **Workaround (unsigned desktop builds):**
145
+
146
+ ```bash
147
+ xattr -cr /Applications/Bygone.app
148
+ open /Applications/Bygone.app
149
+ ```
150
+
151
+ Or right-click the app → **Open** once, or allow it under **System Settings → Privacy & Security**.
152
+
140
153
  ## Package For External Use
141
154
 
142
155
  This repo is set up for local/private packaging. A typical release flow is:
package/docs/releasing.md CHANGED
@@ -190,6 +190,34 @@ That path must point at a local git checkout of the tap repo. The script writes:
190
190
 
191
191
  and then commits and pushes that tap repo.
192
192
 
193
+ ## macOS Unsigned Desktop Builds
194
+
195
+ Published macOS desktop builds are currently **unsigned and not notarized**. After download, Gatekeeper often shows a misleading **“Bygone is damaged”** dialog.
196
+
197
+ ### End-user workaround
198
+
199
+ ```bash
200
+ xattr -cr /Applications/Bygone.app
201
+ open /Applications/Bygone.app
202
+ ```
203
+
204
+ Or right-click the app → **Open** once, or allow it under **System Settings → Privacy & Security**.
205
+
206
+ Document this for users in release notes when shipping desktop updates.
207
+
208
+ ### Future signing (not enabled)
209
+
210
+ Signing helpers are shelved until Apple Developer Program membership is active. They are **not** wired into `release:publish` today.
211
+
212
+ When ready to enable:
213
+
214
+ - Config: `packaging/macos/electron-builder.signing.json`
215
+ - Optional manual builds: `npm run package:desktop:mac:release`
216
+ - Verification: `npm run release:verify-macos` or `node scripts/verify-macos-signing.mjs`
217
+ - Re-enable checks in `scripts/release.mjs` (see git history)
218
+
219
+ Credentials needed later: Developer ID Application cert (`CSC_NAME` / `CSC_LINK`) plus notarization (`APPLE_API_KEY` trio, or `APPLE_ID` + app-specific password + team ID).
220
+
193
221
  ## Recommended Release Flow
194
222
 
195
223
  ### Step 1. Confirm the version
@@ -223,7 +251,6 @@ This builds:
223
251
  - macOS desktop artifacts
224
252
  - Linux AppImage
225
253
  - Windows artifacts
226
- - Homebrew style validation, if `brew` is available
227
254
 
228
255
  If local packaging is partially unavailable, use the lower-level script:
229
256
 
@@ -312,6 +339,10 @@ node ./scripts/release.mjs --skip-dmg
312
339
 
313
340
  Then fix the local DMG toolchain before attempting a full publish.
314
341
 
342
+ ### macOS says the app is damaged after install
343
+
344
+ This is expected for unsigned desktop builds. See [macOS Unsigned Desktop Builds](#macos-unsigned-desktop-builds).
345
+
315
346
  ### Windows packaging fails locally
316
347
 
317
348
  Use:
@@ -8798,7 +8798,7 @@ var require_package = __commonJS({
8798
8798
  displayName: "Bygone",
8799
8799
  desktopName: "com.davidmashburn.bygone.desktop",
8800
8800
  description: "See how change happened. Visual diff and file history for VS Code.",
8801
- version: "0.8.4",
8801
+ version: "0.8.5",
8802
8802
  author: "David Mashburn",
8803
8803
  license: "MIT",
8804
8804
  private: false,
@@ -8991,7 +8991,9 @@ var require_package = __commonJS({
8991
8991
  "web:start": "npm run compile && node ./scripts/web-server.mjs",
8992
8992
  "package:desktop": "npm run package:desktop:mac",
8993
8993
  "package:desktop:mac": "npm run compile && electron-builder --mac dmg --publish never",
8994
+ "package:desktop:mac:release": "npm run compile && electron-builder --mac dmg --publish never --config packaging/macos/electron-builder.signing.json",
8994
8995
  "package:desktop:mac:zip": "npm run compile && electron-builder --mac zip --publish never",
8996
+ "package:desktop:mac:zip:release": "npm run compile && electron-builder --mac zip --publish never --config packaging/macos/electron-builder.signing.json",
8995
8997
  "package:desktop:linux": "npm run compile && electron-builder --linux AppImage --publish never",
8996
8998
  "package:desktop:win": "npm run compile && electron-builder --win --publish never",
8997
8999
  "package:desktop:all": "npm run compile && electron-builder --mac --win --linux AppImage --publish never",
@@ -9007,6 +9009,7 @@ var require_package = __commonJS({
9007
9009
  "release:check": "npm run security:audit && npm test && npm run bundle:check && npm run lint && npm run package:vsix && npm run package:npm && npm run package:npm:dry-run",
9008
9010
  "release:build": "node ./scripts/release.mjs",
9009
9011
  "release:publish": "node ./scripts/release.mjs --publish",
9012
+ "release:verify-macos": "node ./scripts/verify-macos-signing.mjs --require-notarized",
9010
9013
  lint: "eslint . --max-warnings=0",
9011
9014
  "lint:fix": "eslint . --fix",
9012
9015
  watch: "tsc -watch -p ./",
@@ -9036,6 +9039,10 @@ var require_package = __commonJS({
9036
9039
  {
9037
9040
  from: "completions",
9038
9041
  to: "completions"
9042
+ },
9043
+ {
9044
+ from: "packaging/homebrew/bygone-launcher.sh",
9045
+ to: "bygone-launcher.sh"
9039
9046
  }
9040
9047
  ],
9041
9048
  extraMetadata: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@davmash/bygone",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "description": "See how change happened. Visual diff and file history.",
5
5
  "author": "David Mashburn",
6
6
  "license": "MIT",
@@ -66,6 +66,13 @@ npm install -g @davmash/bygone
66
66
 
67
67
  **macOS without Homebrew:** download the DMG from [GitHub Releases](https://github.com/davidmashburn/bygone/releases), then choose **Help → Install Command Line Tools…** in the app.
68
68
 
69
+ If macOS reports the app is **damaged**, the build is likely unsigned. Clear quarantine and open once:
70
+
71
+ ```sh
72
+ xattr -cr /Applications/Bygone.app
73
+ open /Applications/Bygone.app
74
+ ```
75
+
69
76
  **From a Bygone source checkout:**
70
77
 
71
78
  ```sh