Skip to content

Allow casks to opt-in to forcibly quit during brew upgrade #17247

@setchy

Description

@setchy

Verification

Provide a detailed description of the proposed feature

Currently when performing brew upgrade, the quit stanza is skipped.

This FR is to add the ability for cask maintainers to opt-in to forcibly quit before upgrading their apps.

What is the motivation for the feature?

Based on feedback from @bevanjkay on Homebrew/homebrew-cask#173061

In the instance of Gitify, users experience errors/exceptions when the application is upgraded in-place without exiting it first

How will the feature be relevant to at least 90% of Homebrew users?

to be discussed

What alternatives to the feature have been considered?

Adding custom preflight and postflight scripts to individual casks

Metadata

Metadata

Assignees

Labels

caskHomebrew CaskstaleNo recent activity

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions