DD安装操作系统

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

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".