Add branded Finder icon for Probo Agent.app
The macOS URL-handler bundle had no CFBundleIconFile, so Finder showed the generic app icon after PKG install. Keep a single master PNG and generate AppIcon.icns at build time with sips/iconutil, matching the auditor-mode approach. Signed-off-by: Ludovic Vielle <ludovic@probo.com>
This commit is contained in:
@@ -64,6 +64,14 @@ then the app bundle, optionally signs the product with
|
||||
profile; submits use `--keychain-profile` so the secret is not on
|
||||
`notarytool submit` argv).
|
||||
|
||||
The Finder/Dock icon for `Probo Agent.app` comes from a single master
|
||||
PNG, `cmd/probo-agent/installer/macos/enroll-ui/Resources/icon-original.png`
|
||||
(Probo square mark). At PKG build time `build.sh` pads/resizes it with
|
||||
`sips`, compiles `AppIcon.icns` with `iconutil` under the build stage
|
||||
directory, and installs it into `Contents/Resources/`. `Info.plist`
|
||||
sets `CFBundleIconFile` to `AppIcon`. Do not commit generated
|
||||
`.icns` / iconset PNGs.
|
||||
|
||||
There is no unsigned PKG path and no osascript elevation fallback.
|
||||
Local testing of browser enrollment requires a Developer ID–signed
|
||||
build. CLI enrollment without the app uses `sudo probo-agent install`.
|
||||
|
||||
Reference in New Issue
Block a user