DD安装操作系统

MoeClub 58c8603e08 Add files via upload %!s(int64=5) %!d(string=hai) anos
AnyConnect 58c8603e08 Add files via upload %!s(int64=5) %!d(string=hai) anos
Applications 762336cd66 Update README.MD %!s(int64=5) %!d(string=hai) anos
AriaNgGUI 57eea1a9ce Update README.MD %!s(int64=5) %!d(string=hai) anos
Charles 0dcbdd9369 Delete README.MD %!s(int64=5) %!d(string=hai) anos
Clearn 6702c228a7 Create logs.sh %!s(int64=5) %!d(string=hai) anos
Dictionary e887ebe4ab Delete README.MD %!s(int64=5) %!d(string=hai) anos
Edge 927b51f52d Update README.MD %!s(int64=5) %!d(string=hai) anos
Firefox 59b36c0178 Update prefs.js %!s(int64=5) %!d(string=hai) anos
Navicat fcb272a680 Delete README.MD %!s(int64=5) %!d(string=hai) anos
Note 1172025737 Update README.MD %!s(int64=5) %!d(string=hai) anos
OneDrive b1dd3fca67 Create README.MD %!s(int64=5) %!d(string=hai) anos
SecureCRT.SecureFX 477b6f02b1 Add files via upload %!s(int64=5) %!d(string=hai) anos
UltraEdit 167371afbe Update README.MD %!s(int64=5) %!d(string=hai) anos
ffmpeg 08fdd2e1f2 Update media.sh %!s(int64=5) %!d(string=hai) anos
hping 2e465bb821 Add files via upload %!s(int64=5) %!d(string=hai) anos
BlockOTA.mobileconfig 46737768e6 Add files via upload %!s(int64=5) %!d(string=hai) anos
InstallNET.sh c23cc35044 Add files via upload %!s(int64=5) %!d(string=hai) anos
MacInitial.sh 104216b1b0 Add files via upload %!s(int64=5) %!d(string=hai) anos
OracleAction.py ab8a2fa093 Add files via upload %!s(int64=5) %!d(string=hai) anos
README.md 3bbe7f1119 Update README.md %!s(int64=5) %!d(string=hai) anos
wget.sh 507eacf11a Update wget.sh %!s(int64=5) %!d(string=hai) anos

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