DD安装操作系统

MoeClub 6879fdc1d5 Done 1 year ago
AnyConnect d938ece6fd Create default 2 years ago
Applications 762336cd66 Update README.MD 5 years ago
Aria2 698d49d3cd Add files via upload 3 years ago
AriaNgGUI 78c15add12 Add files via upload 4 years ago
C8-660 6879fdc1d5 Done 1 year ago
Charles 9f1761ee02 Update README.MD 3 years ago
Clearn 6702c228a7 Create logs.sh 5 years ago
Deluge 7d0b57d4c3 Add files via upload 2 years ago
Dictionary e887ebe4ab Delete README.MD 5 years ago
Edge 927b51f52d Update README.MD 5 years ago
Firefox efa2da6e27 Update prefs.js 2 years ago
Navicat 02daf33136 Update navicat14.sh 2 years ago
Note 1172025737 Update README.MD 5 years ago
OneDrive b1dd3fca67 Create README.MD 5 years ago
Oracle eacc6cbe32 Update eat.service 2 years ago
SecureCRT.SecureFX 1e54905687 Update Default.ini 3 years ago
SoftEther dbdaec7fd6 Delete NM34_x64.exe 3 years ago
SpeedTest b4060ebc61 Update install.sh 3 years ago
UltraEdit 4e8f91115f Add files via upload 2 years ago
ffmpeg 08fdd2e1f2 Update media.sh 5 years ago
frp b95b1204c1 Add files via upload 1 year ago
hping 2e465bb821 Add files via upload 5 years ago
qBittorrent ad392db4ec Update qBittorrent.conf 2 years ago
stunnel 5d1604fcaa Update mail.conf 2 years ago
win32loader e1ee893018 Delete README.MD 4 years ago
115.user.js a5fecfb6d0 Add files via upload 3 years ago
BBR.sh 518000c92d Create BBR.sh 3 years ago
BlockOTA.mobileconfig 46737768e6 Add files via upload 5 years ago
InstallNET.Legacy.sh f48fa14f3c Rename InstallNET.sh to InstallNET.Legacy.sh 4 years ago
InstallNET.sh 06b6ac12a1 Update InstallNET.sh 2 years ago
LinuxInit.sh 6d3e480da0 Update LinuxInit.sh 2 years ago
MacInitial.sh 6859aac6c9 Update MacInitial.sh 4 years ago
MacOS.sh 931a99a342 Add files via upload 2 years ago
ORACLE.MD 00163f8585 Update ORACLE.MD 1 year ago
OracleAction.py d189d48b19 Add files via upload 4 years ago
README.md cd8c41d6a9 Update README.md 2 years ago
TGStreamer.py cabbce6af0 Add files via upload 2 years ago
aria2c.conf afa3444544 Create aria2c.conf 4 years ago
binlist.csv.zip ad9944d426 Add files via upload 4 years ago
device.json 099291f847 Add files via upload 4 years ago
docker.sh d89121a157 Update docker.sh 1 year ago
fiberhome.js b407c3ed3b Update fiberhome.js 2 years ago
musl.sh 20f8af5042 Create musl.sh 2 years ago
mysql5.5.sh 0a69473e09 Update mysql5.5.sh 2 years ago
php.sh d27573abd4 Update php.sh 2 years ago
rand.sh 5343387394 Update rand.sh 4 years ago
sqlite3.py 430045f083 Update sqlite3.py 3 years ago
wget.sh 6bcef9f23e Update wget.sh 3 years ago
win32loader.bat 42ba0a76d8 Add files via upload 4 years ago

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

7z with MacOS

curl -sSL "https://www.7-zip.org/a/7z2107-mac.tar.xz" |tar -C /tmp -zxv 7zz && sudo mkdir -p /usr/local/bin && sudo mv /tmp/7zz /usr/local/bin/7z && sudo chmod a+x /usr/local/bin/7z

Github Tools

https://github.com/p0deje/Maccy/releases
https://github.com/exelban/stats/releases