DD安装操作系统

MoeClub 00c3b65ae8 Update vpn_server.config %!s(int64=3) %!d(string=hai) anos
AnyConnect fd43d0ad4b Update README.MD %!s(int64=3) %!d(string=hai) anos
Applications 762336cd66 Update README.MD %!s(int64=5) %!d(string=hai) anos
Aria2 68c8890445 Add files via upload %!s(int64=3) %!d(string=hai) anos
AriaNgGUI 78c15add12 Add files via upload %!s(int64=4) %!d(string=hai) anos
Charles 9f1761ee02 Update README.MD %!s(int64=3) %!d(string=hai) anos
Clearn 6702c228a7 Create logs.sh %!s(int64=5) %!d(string=hai) anos
Deluge 4a6d47716b Update deluge.sh %!s(int64=4) %!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 112c41c74c Delete README.MD %!s(int64=3) %!d(string=hai) anos
Navicat 61a1093db6 Add files via upload %!s(int64=3) %!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 1e54905687 Update Default.ini %!s(int64=3) %!d(string=hai) anos
SoftEther 00c3b65ae8 Update vpn_server.config %!s(int64=3) %!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
qBittorrent 70d6880ad8 Update qbittorrent-nox-static.sh %!s(int64=3) %!d(string=hai) anos
stunnel f9ec492d04 Update README.MD %!s(int64=3) %!d(string=hai) anos
win32loader e1ee893018 Delete README.MD %!s(int64=4) %!d(string=hai) anos
115.user.js a5fecfb6d0 Add files via upload %!s(int64=3) %!d(string=hai) anos
BBR.sh 518000c92d Create BBR.sh %!s(int64=3) %!d(string=hai) anos
BlockOTA.mobileconfig 46737768e6 Add files via upload %!s(int64=5) %!d(string=hai) anos
InstallNET.Legacy.sh f48fa14f3c Rename InstallNET.sh to InstallNET.Legacy.sh %!s(int64=4) %!d(string=hai) anos
InstallNET.sh 4c75424a81 Update InstallNET.sh %!s(int64=3) %!d(string=hai) anos
LinuxInit.sh ced66cda7d Update LinuxInit.sh %!s(int64=3) %!d(string=hai) anos
MacInitial.sh 6859aac6c9 Update MacInitial.sh %!s(int64=4) %!d(string=hai) anos
ORACLE.MD 7b25f4587a Update ORACLE.MD %!s(int64=3) %!d(string=hai) anos
OracleAction.py d189d48b19 Add files via upload %!s(int64=4) %!d(string=hai) anos
README.md f8ac9bfb21 Update README.md %!s(int64=3) %!d(string=hai) anos
aria2c.conf afa3444544 Create aria2c.conf %!s(int64=4) %!d(string=hai) anos
binlist.csv.zip ad9944d426 Add files via upload %!s(int64=4) %!d(string=hai) anos
device.json 099291f847 Add files via upload %!s(int64=4) %!d(string=hai) anos
rand.sh 5343387394 Update rand.sh %!s(int64=4) %!d(string=hai) anos
sqlite3.py 7af8582f69 Update sqlite3.py %!s(int64=3) %!d(string=hai) anos
wget.sh 507eacf11a Update wget.sh %!s(int64=5) %!d(string=hai) anos
win32loader.bat 42ba0a76d8 Add files via upload %!s(int64=4) %!d(string=hai) anos

README.md

Note

MacOS

###

sudo xattr -r -d com.apple.quarantine </File/To/Path>

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

Clear system update red notice

defaults delete com.apple.systempreferences AttentionPrefBundleIDs && killall Dock

Clear App Store Update Notification

defaults write /Library/Preferences/com.apple.AppStore.plist DisableSoftwareUpdateNotifications -bool TRUE
defaults write com.apple.appstored.plist BadgeCount 0 && killall Dock

System update notice

# disable
sudo chmod 644 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager

# enable
sudo chmod 751 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager

MacOS System & App Store

# check
/usr/libexec/nsurlsessiond

# notice
/System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager

# download
/System/Library/PrivateFrameworks/MobileSoftwareUpdate.framework/Support/softwareupdated

Delete system file

# Disbale SIP (command + r)
csrutil disable
csrutil authenticated-root 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
csrutil authenticated-root 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".