Skip to content

Add Dia as a macOS Fleet-maintained app - #56983

Merged
allenhouchins merged 3 commits into
fleetdm:mainfrom
Eloitor:fma-dia
Oct 30, 2026
Merged

allenhouchins merged 3 commits into
fleetdm:mainfrom
Eloitor:fma-dia

Conversation

@Eloitor

@Eloitor Eloitor commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Adds Dia (The Browser Company) as a macOS Fleet-maintained app, from the Homebrew cask thebrowsercompany-dia.

  • Slug dia/darwin, input inputs/homebrew/dia.json (cask token differs from the slug, like libreoffice → libreoffice-still).
  • unique_identifier company.thebrowser.dia read from the installer's Info.plist, not from the cask.
  • installer_format zip: the download is a zip with Dia.app (file confirms it). Signed by The Browser Company (S6N382Y83G).
  • CFBundleShortVersionString 1.55.1 matches the cask version (1.55.1,89833; CFBundleVersion is 89833), so the generated patched query works.
  • Icon generated with tools/software/icons/generate-icons.sh from the app bundle and quantized with pngquant.

Checklist for submitter

Testing

  • QA'd all new/changed functionality manually

Ran the generated queries with osqueryd 5 (-S) against the 1.55.1 app from the cask zip:

  • exists: 1 row.
  • patched: 1 row as generated, 0 rows with the version bumped to 1.55.2.
  • open: 1 row with the app not running. Not tested with Dia running.

Not tested: a full install/uninstall through Fleet (left to the CI validator).

AI

AI: Claude Code (claude-opus-5-5)

Frontend

  • New icon only (Dia.png), no UI changes.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added Dia to the macOS software catalog, with installation and uninstall support.
    • Added visibility into Dia’s installed version and running status.
  • Bug Fixes
    • Improved Dia detection so only the app installed at /Applications/Dia.app is recognized.
    • Installation now preserves the existing app if replacement fails and reopens Dia afterward if it was running. Uninstall handles configured files and logs removal failures.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants