MIT License

项目介绍

raphaelhanneken/apple-juice 是一个托管在 GitHub 上的开源项目,主要使用 Swift 编写,采用 MIT License 许可证,目前获得 521 个 Star、30 次 Fork。

仓库全名
raphaelhanneken/apple-juice
开源许可证
MIT License
Star 数
521
Fork 数
30
未关闭 Issue
13

README 摘要

Apple Juice # An advanced battery gauge for macOS. Apple Juice can show you the estimated battery time remaining and notify you, when your battery charge hits certain percentages. Today Widget ### You can get even more information about your current battery status, without cluttering your screen, with the Apple Juice Today Widget. Just take a quick glance at your battery’s stats, whenever you want. How do I install…

完整内容见 GitHub 原始 README 或本页 。

常见问题

apple-juice 用什么语言开发?

主要使用 Swift 编写,采用 MIT License 许可证,目前有 521 个 Star。

apple-juice 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 apple-juice 的源码?

可以直接克隆仓库:git clone https://github.com/raphaelhanneken/apple-juice.git,默认分支为 master;安装与运行步骤见仓库 README。

apple-juice 最近还在维护吗?

仓库最近一次更新为 2022年8月26日,当前有 13 个未关闭 Issue;Star 数为 521,可作为社区活跃度的参考。

关于

An advanced battery gauge for macOS, that displays the remaining battery time and more.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
591
价值分
321
活跃状态
活跃

语言占比

Swift

Release

README

Apple Juice application icon

Apple Juice

An advanced battery gauge for macOS. Apple Juice can show you the estimated battery time remaining and notify you, when your battery charge hits certain percentages.

Apple Juice Appmenu Apple Juice Notifications

Today Widget

You can get even more information about your current battery status, without cluttering your screen, with the Apple Juice Today Widget. Just take a quick glance at your battery’s stats, whenever you want.

Apple Juice Today Widget

How do I install it?

  • Install Apple Juice from the published binary, by downloading the latest release and dropping it into your Applications folder.

  • Install Apple Juice using Homebrew, using the command brew install --cask apple-juice

  • You can also download the source code and build it yourself. You’ll have to have Carthage installed, and run carthage bootstrap, inside the project folder, to pull in the required dependencies.

ATTENTION

Loosen Gate Keeper Restrictions

As I’m not paying for an Apple Developer Account, you have to allow unsigned third party apps within the system preferences, to run Apple Juice. To allow unsigned apps choose Anywhere under System Preferences: Security: Allow apps downloaded from. If you don’t have the option to select Anywhere you’ll have to loosen the Gate Keeper restrictions by running sudo spctl --master-disable in the Terminal. OSXDaily have a great step by step guide. Afterwards you should be able to select Anywhere.

Remove Quarantine Attributes

Alternatively you can remove the quarantine attribute from the downloaded application package, as suggested by henrycodebreaker in issue #18. By executing the following command inside your Terminal: xattr -cr /path/to/Apple\ Juice.app.

Why does this project exist?

There are plenty of other solutions out there, so why make another one? I wanted an app that looks like it’s part of the system. As if it were built directly into macOS. Which can show me a lot of information, but only when I need them. And, most importantly, it should display notifications for several percentages. Since I haven’t found such an app, I made one myself.

How do I contribute?

You can fork this project, make your changes and send me a pull request. Make sure SwiftLint succeeds and everything is translated before submitting your pull request. Or, since the whole source code is licensed under the MIT License, fork Apple Juice and make your own thing. :-)


License

The MIT License (MIT)

Copyright © 2015 - 2020 Raphael Hanneken

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

评论

暂无评论