Skip to content

Build switch to skip the move-to-Applications prompt for package-manager installs #457

Open

Description

@kleinbem

Before filing

  • I searched open and closed issues for duplicates.
  • I am using a recent release and this doesn't already exist.
  • This is one request, not several bundled together.

Closest existing issue

None found.

Is this new, or an improvement?

Improvement — Berd does this, but badly

The problem, in your terms

On macOS, Berd asks at every start to move itself into /Applications unless it already runs from an Applications folder (maybe_prompt_move_to_applications in src-tauri/src/services/installer_media.rs). A package manager that installs Berd somewhere else has no way to switch this off. In nixpkgs the app lives in the read-only Nix store, so the prompt shows on every start (log: Berd appears to be running from installer media (OtherNonInstalled, FreshInstall); prompting to move to /Applications), and accepting it would copy the bundle into /Applications, where package updates never reach it.

What you do today

The nixpkgs package patches the check so it returns early, the way it already does for debug builds (if cfg!(debug_assertions)). Without the patch, an unattended start on GitHub's macOS runner never got past the dialog; with it, Berd starts and a chat through berdctl works.

What you'd like to see

A build feature that skips the prompt, like the existing no-bb-cli-install for the CLI symlink, for builds whose install location a package manager owns.

Why this belongs in Berd itself

The prompt is compiled into the app; nothing outside it can turn it off except the "Do not ask again" choice, which every user would have to make once.

Non-goals

I'm not asking to change the prompt for Berd's own DMG downloads.

Alternatives you considered

Patching the check in the package (what it does now), or a runtime environment variable instead of a build feature.

Mockups, prior art, or other context

no-bb-cli-install and no-managed-acp-tools are the same kind of packager switch.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions