https://github.com/lanthora/homebrew-repo
Mac homebrew repository
https://github.com/lanthora/homebrew-repo
Last synced: 5 months ago
JSON representation
Mac homebrew repository
- Host: GitHub
- URL: https://github.com/lanthora/homebrew-repo
- Owner: lanthora
- Created: 2023-10-25T10:57:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-07-04T15:13:47.000Z (11 months ago)
- Last Synced: 2025-07-04T16:43:06.391Z (11 months ago)
- Language: Ruby
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Homebrew 仓库
参考官方文档了解 [Homebrew](https://brew.sh/) 和[第三方仓库](https://docs.brew.sh/Taps).
本项目是一个第三方仓库.使用以下命令添加本仓库.这步出现问题请参考 Homebrew 的官方文档.
```bash
brew tap lanthora/repo
```
## Candy
```bash
brew install candy
```
安装成功后会提示服务启动命令,应该与以下命令相同.
```bash
sudo brew services start lanthora/repo/candy
```
此时,你应该已经成功加入测试网络.这个仓库仅维护 Mac 与其他系统安装上的差异,不关注软件使用细节,具体使用请参考 [Candy](https://github.com/lanthora/candy).
Mac 默认的睡眠策略是: 1.在关闭屏幕一段时间后睡眠; 2.睡眠时收到网络包唤醒. Candy 运行过程中每 30 秒产生一个心跳,这会导致机器被频繁唤醒.对于作为服务器长期开机的 Mac 设备来说,可以关闭睡眠功能;对于作为普通设备的笔记本来说,可以关闭网络唤醒功能.参考苹果官网[睡眠与唤醒](https://support.apple.com/zh-cn/guide/mac-help/mchle41a6ccd/mac)完成设置.