DD安装操作系统

MoeClub 3bbe7f1119 Update README.md il y a 5 ans
AnyConnect ce7267ea32 Update README.MD il y a 5 ans
Applications 762336cd66 Update README.MD il y a 5 ans
AriaNgGUI 57eea1a9ce Update README.MD il y a 5 ans
Charles 0dcbdd9369 Delete README.MD il y a 5 ans
Clearn 6702c228a7 Create logs.sh il y a 5 ans
Dictionary e887ebe4ab Delete README.MD il y a 5 ans
Firefox dc33bd8624 Update prefs.js il y a 5 ans
Navicat ce6dec24a7 Add files via upload il y a 5 ans
Note 1172025737 Update README.MD il y a 5 ans
OneDrive b1dd3fca67 Create README.MD il y a 5 ans
SecureCRT.SecureFX 477b6f02b1 Add files via upload il y a 5 ans
UltraEdit 167371afbe Update README.MD il y a 5 ans
ffmpeg 08fdd2e1f2 Update media.sh il y a 5 ans
hping 2e465bb821 Add files via upload il y a 5 ans
BlockOTA.mobileconfig 46737768e6 Add files via upload il y a 5 ans
OracleAction.py ab8a2fa093 Add files via upload il y a 5 ans
README.md 3bbe7f1119 Update README.md il y a 5 ans
wget.sh 507eacf11a Update wget.sh il y a 5 ans

README.md

Note

MacOS

Uncheck "Reopen windows when logging back in" by defaults

defaults write com.apple.loginwindow TALLogoutSavesState -bool FALSE

Diasble other account

defaults write com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool FALSE

Disable system update

defaults write com.apple.systempreferences AttentionPrefBundleIDs 0

Disable App Store Update Notification

sudo defaults write /Library/Preferences/com.apple.AppStore.plist DisableSoftwareUpdateNotifications -bool TRUE

Delete system file

# Disbale SIP (command + r)
csrutil disable

# Mount '/' as write
sudo mount -uw /

# Do something
sudo cd "/Volumes/$(ls -1 /Volumes|head -n1)"
sudo rm -rf /System/Applications/TV.app
sudo rm -rf /System/Applications/News.app
sudo rm -rf /System/Applications/Home.app
sudo rm -rf /System/Applications/Books.app
sudo rm -rf /System/Applications/Chess.app
sudo rm -rf /System/Applications/Podcasts.app
sudo rm -rf /System/Applications/Stocks.app
sudo rm -rf /System/Applications/Music.app

# Enable SIP
csrutil enable

Modify user name and folder

  • Create a user as Administrator, like "temp".
  • Login "temp".
  • Change user name and folder.
  • Disable SIP.
  • Use sudo mv <OldFolder> <NewFolder> to rename folder.
  • Enable SIP.
  • Login.
  • Delete user "temp".