aecreations / sync-clippings

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

macOS uninstaller #16

Open aecreations opened 1 year ago

aecreations commented 1 year ago

The steps for uninstalling Sync Clippings on macOS is ridiculously convoluted. Currently, the steps are[1]:

  1. Launch the Terminal app.
  2. Navigate to the installation folder by typing cd /Library/SyncClippings/1.2.0 in the console.
  3. Enter the following command to run the uninstall script with elevated system privileges: sudo ./uninstall.sh. When prompted, enter your system password to allow the script to run.
  4. Follow the prompts to uninstall Sync Clippings Helper.
  5. To delete the installation folder, enter the following commands:
    cd /Library
    sudo rm -rf ./SyncClippings

Worse, there was a bug in the uninstall shell script[2] that was packaged with the original installer package; it failed to unregister application information during the uninstall (a corrected script was included in a revised installer package, released on 2023-01-24).

Create a macOS app that will uninstall Sync Clippings. User can download it, save it to their Desktop or other location, and run it. It would be nice of the app could also delete itself when finished. This could be a Python3 + Tkinter app, and compiled into a native macOS app using PyInstaller.

-- [1] https://aecreations.io/clippings/sync-clippings-helper-uninstall.php [2] https://github.com/aecreations/sync-clippings/issues/15