这只是几句简单的命令行:
关掉阴影:
$ defaults write com.apple.screencapture disable-shadow -bool false
开启阴影:
$ defaults write com.apple.screencapture disable-shadow -bool true
查看是不是开启了阴影:
$ defaults read com.apple.screencapture disable-shadow
每次更改之后你需要重启系统 UI:
$ killall SystemUIServer
NPM 包:
$ npm install -g toggle-screencapture-shadow-cli
$ toggle-screencapture-shadow
GitHub: