macOS leftover cleanup

main
sudo pacman -Syu 2024-10-09 12:49:08 +07:00
parent 419be446a5
commit 4b2eca77fc
2 changed files with 46 additions and 41 deletions

View File

@ -1230,35 +1230,28 @@ sudo networksetup -setv6off Wi-Fi</pre
>
</div>
<p>Clean up leftover data:</p>
<ul>
<li>
<p><code>~/Library/Application Support</code></p>
</li>
<li>
<p><code>/Library/Application Support</code></p>
</li>
<li>
<p><code>~/Library/LaunchAgents</code></p>
</li>
<li>
<p><code>/Library/LaunchAgents</code></p>
</li>
<li>
<p><code>/Library/LaunchDaemons</code></p>
</li>
<li>
<p><code>~/Library/Preferences</code></p>
</li>
<li>
<p><code>/Library/Preferences</code></p>
</li>
<li>
<p><code>~/Library/Fonts (Removed)</code></p>
</li>
<li>
<p><code>/Users/Shared</code></p>
</li>
</ul>
<div class="highlight highlight-text-adblock">
<pre>
/Library/Application Support
/Library/LaunchAgents
/Library/LaunchDaemons
/Library/Preferences
/Users/Shared
~/Library/Application Support
~/Library/Fonts (Removed)
~/Library/LaunchAgents
~/Library/Preferences</pre
>
</div>
<p>Clean up leftover shell:</p>
<div class="highlight highlight-text-adblock">
<pre>
/etc/bashrc
/etc/profile
/etc/zshrc
/etc/paths.d</pre
>
</div>
<p>Clean up clipboard:</p>
<div class="highlight highlight-source-shell">
<pre>pbcopy <span class="pl-k">&lt;</span> /dev/null</pre>
@ -1343,6 +1336,11 @@ sudo pkill bluetoothd</pre
>https://github.com/OpenVPN/openvpn3/issues/243</a
>
</li>
<li>
<a href="https://stackoverflow.com/q/15872666" rel="nofollow"
>https://stackoverflow.com/q/15872666</a
>
</li>
</ul>
<div class="markdown-heading">
<h3 class="heading-element">Firefox</h3>

View File

@ -339,20 +339,26 @@ sudo networksetup -setv6off Wi-Fi
Clean up leftover data:
- `~/Library/Application Support`
- `/Library/Application Support`
```txt
/Library/Application Support
/Library/LaunchAgents
/Library/LaunchDaemons
/Library/Preferences
/Users/Shared
~/Library/Application Support
~/Library/Fonts (Removed)
~/Library/LaunchAgents
~/Library/Preferences
```
- `~/Library/LaunchAgents`
- `/Library/LaunchAgents`
Clean up leftover shell:
- `/Library/LaunchDaemons`
- `~/Library/Preferences`
- `/Library/Preferences`
- `~/Library/Fonts (Removed)`
- `/Users/Shared`
```txt
/etc/bashrc
/etc/profile
/etc/zshrc
/etc/paths.d
```
Clean up clipboard:
@ -387,6 +393,7 @@ Thanks:
- https://github.com/drduh/macOS-Security-and-Privacy-Guide
- [Mac Setup](https://mac.install.guide/mac-setup/)
- https://github.com/OpenVPN/openvpn3/issues/243
- https://stackoverflow.com/q/15872666
### Firefox