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> </div>
<p>Clean up leftover data:</p> <p>Clean up leftover data:</p>
<ul> <div class="highlight highlight-text-adblock">
<li> <pre>
<p><code>~/Library/Application Support</code></p> /Library/Application Support
</li> /Library/LaunchAgents
<li> /Library/LaunchDaemons
<p><code>/Library/Application Support</code></p> /Library/Preferences
</li> /Users/Shared
<li> ~/Library/Application Support
<p><code>~/Library/LaunchAgents</code></p> ~/Library/Fonts (Removed)
</li> ~/Library/LaunchAgents
<li> ~/Library/Preferences</pre
<p><code>/Library/LaunchAgents</code></p> >
</li> </div>
<li> <p>Clean up leftover shell:</p>
<p><code>/Library/LaunchDaemons</code></p> <div class="highlight highlight-text-adblock">
</li> <pre>
<li> /etc/bashrc
<p><code>~/Library/Preferences</code></p> /etc/profile
</li> /etc/zshrc
<li> /etc/paths.d</pre
<p><code>/Library/Preferences</code></p> >
</li> </div>
<li>
<p><code>~/Library/Fonts (Removed)</code></p>
</li>
<li>
<p><code>/Users/Shared</code></p>
</li>
</ul>
<p>Clean up clipboard:</p> <p>Clean up clipboard:</p>
<div class="highlight highlight-source-shell"> <div class="highlight highlight-source-shell">
<pre>pbcopy <span class="pl-k">&lt;</span> /dev/null</pre> <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 >https://github.com/OpenVPN/openvpn3/issues/243</a
> >
</li> </li>
<li>
<a href="https://stackoverflow.com/q/15872666" rel="nofollow"
>https://stackoverflow.com/q/15872666</a
>
</li>
</ul> </ul>
<div class="markdown-heading"> <div class="markdown-heading">
<h3 class="heading-element">Firefox</h3> <h3 class="heading-element">Firefox</h3>

View File

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