Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tart run: set "prohibited" activation policy when --no-graphics is set #939

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

edigaryev
Copy link
Collaborator

This is a missing piece from #935.

I should've been testing the presence of dock icon with tart run --no-graphics instead of tart create --from-ipsw=latest.

Unfortunately the dock icon is still shown for about 10ms even with prohibited, but that's the best we can do, according to https://stackoverflow.com/a/12981068/9316533:

Workaround: Starting as normal app (step 1.) would solve this problem, but will cause another small one, your app icon might appear for a moment in the dock at startup even if you would like to startup without any window shown. (but we can deal with this, not owning the menubar was a bigger problem for us, so we chose this instead)

@edigaryev edigaryev requested a review from fkorotkov as a code owner November 7, 2024 19:56
@edigaryev edigaryev enabled auto-merge (squash) November 7, 2024 19:57
@edigaryev edigaryev merged commit c044306 into main Nov 7, 2024
7 checks passed
@edigaryev edigaryev deleted the no-graphics-activation-policy branch November 7, 2024 20:20
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.

2 participants