dark mode
v3.0.2
从命令行控制MacOS暗模式
需要MacOS 10.10或更高版本。 MACOS 10.13或更早需要下载Swift运行时支持库。

$ brew install dark-mode
$ npm install --global dark-mode-cli
下载二进制文件,然后将其放入/usr/local/bin中。
$ dark-mode --help
Usage
$ dark-mode [command]
Commands
<none> Toggle dark mode
on Enable dark mode
off Disable dark mode
status Dark mode status
运行./build 。可以在./bin/dark-mode上找到二进制。
在Xcode中构建有效,但不会导出二进制。