Skip to content

anaf-sync 0.3.1 — o iconiță în Dock mai puțin

Choose a tag to compare

@github-actions github-actions released this 26 Jul 20:47

Pe macOS, tray-ul instalat cu pip/uv nu mai apare în Dock ca „Python”. /
A one-fix release for the macOS tray: no more Dock icon inviting anyone to
quit the thing that watches your archive.

Fix

The tray no longer shows a Dock icon on macOS when installed from PyPI.
The downloadable .app bundle has always been menu-bar-only — its Info.plist
declares LSUIElement. A pip install "anaf-sync[tray]" or
uv tool install has no bundle, and Qt's Cocoa plugin turns the bare
interpreter into a foreground application: the tray ran with a Dock icon
labelled Python 3.13, next to no window and no obvious owner. Anyone
tidying their Dock would quit it, and the tray — and with it the only visible
sign that the archive is being watched — went away silently.

The tray now asks AppKit for the accessory activation policy at startup, the
programmatic twin of LSUIElement. The menu-bar icon is unchanged, and both
windows still come to the front when you open them: an accessory application
is absent from the app-switcher, so Facturi and Setări now ask to be activated
explicitly rather than trusting Qt's raise alone.

Nothing to configure. Restart the tray after upgrading — the policy is set
when the process starts, so a tray left running from 0.3.0 keeps its Dock icon
until it does.

Linux and Windows are untouched: the code is a no-op off macOS, and it never
raises there or anywhere else. A missing Dock icon is cosmetic; a tray that
crashed trying to hide one is not.

Internal

  • The macOS bundle stops lying about its version. CFBundleShortVersionString
    in the PyInstaller spec had been pinned at 0.1.3 since it was written, so
    every .app since then reported that number to the Finder. It now matches
    the release.

⚠️ The bundles are unsigned — no macOS notarization, no Windows
Authenticode. First run triggers the usual OS warning; use the
right-click-open workaround documented in the README. The CLI on PyPI
(pip install anaf-sync) is unaffected.

Full changelog: v0.3.0...v0.3.1