aecreations / sync-clippings

Sync Clippings Helper
Mozilla Public License 2.0
1 stars 1 forks source link

macOS uninstaller script doesn't remove package info #15

Closed aecreations closed 1 year ago

aecreations commented 1 year ago

An undetected bug with the uninstaller shell script for macOS, caused by a last-minute change to the package name that was used for the Sync Clippings Helper package installer.

The uninstaller script throws an error at the step where it unregisters the package information for Sync Clippings Helper. This is because it was referencing the old package name.

Workaround: Run the following command in the terminal: sudo pkgutil --forget io.aecreations.SyncClippings

The risk of leaving behind junk package information is low, but this should be fixed. Since the uninstaller script is included with the installer, the macOS installers need to be rebuilt.

aecreations commented 1 year ago

The error that occurs during uninstallation is:

[2/3] [ERROR] Could not delete application information

Note that this doesn't abort the uninstall; removal of the files that were added by the installer is still successful.

aecreations commented 1 year ago

This is fixed in the macOS installers issued on 24 January 2023.