docs: how to remove apps from macOS

This commit is contained in:
Ryan Yin
2024-01-04 11:39:08 +08:00
parent 09c73d9f5e
commit 538dc8954b
2 changed files with 8 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ clean:
gc:
# garbage collect all unused nix store entries
sudo nix store gc --debug
sudo nix-collect-garbage --delete-old
############################################################################
#

View File

@@ -11,6 +11,13 @@
# NOTE: Your can find all available options in:
# https://daiderd.com/nix-darwin/manual/index.html
#
# NOTETo remove the uninstalled APPs icon from Launchpad:
# 1. `sudo nix store gc --debug` & `sudo nix-collect-garbage --delete-old`
# 2. click on the uninstalled APP's icon in Launchpad, it will show a question mark
# 3. if the app starts normally:
# 1. right click on the running app's icon in Dock, select "Options" -> "Show in Finder" and delete it
# 4. hold down the Option key, a `x` button will appear on the icon, click it to remove the icon
#
# TODO Fell free to modify this file to fit your needs.
#
##########################################################################