Giter Club home page Giter Club logo

chinese-lunar-calendar-for-mac's Introduction

1.MAC下的状态栏万年历

功能说明、界面、使用方法见:

2.Code Explanation

This is a menubar app which shows a simple chinese lunar calendar for OSX.

There are two different implementations for this app:

2.1. WanNianLi

this project is using the official NSStatusItem to implement the menubar app. Its posittion in the icon bar can't be moved.

2.2. CLCLauncher + CLCMenuExtra

these two projects are using the un-official NSMenuExtra (hacking way) to implement the menubar app. The calendar icon works in the same way with system's icon. You can use CMD+Drag to move it or remove it.

CLCLauncher: this project is a agent application, which launch "MenuCracker.menu" & "CLCMenuExtra.menu"

It dependens on MenuCracker.menu and CLCMenuExtra.menu (these two bundles will be packed into CLCLauncher.app as resources)

CLCMenuExtra: this project finishs the actual functionality. this bundle is using un-official NSMenuExtra API.

3.Referrences

http://duhanebel.wordpress.com/2010/04/02/nsmenuextra-how-to-work-with-undocumented-apis/

https://github.com/aschuch/AXStatusItemPopup

http://sourceforge.net/projects/menucracker/

chinese-lunar-calendar-for-mac's People

Contributors

internalerror avatar zfdang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chinese-lunar-calendar-for-mac's Issues

能否增加一个置顶功能

找了很久终于找到一个可用的支持农历的软件,太感谢了
能否增加一个置顶功能,有些时候要边看日期边做一些其它操作

建议在github中维护一份带版本号的二进制版本

过年期间重装了一次系统,使用的软件基本上用brew cask安装好了,但您开发的WanNianLi app只能在你的网站中下载。

所以就为brew cask提交了一份WanNianLi.app的安装脚本,但brew建议在github中维护软件版本,所以希望你在github Releases中放一份,这样使用者更新起来方便。
我提交的cask pull: Homebrew/homebrew-cask#100124

Command + Drag 无法拖动

MacBook Pro 2012 年中 13寸,系统是 10.10.5

自带图标可以拖动,但 WanNianLi 的图标不可以。

不能自动刷新日期

经常会出机器在休眠后第二天还是显示前一天日期的情况,需要鼠标点击才能切换到当前日期。

农历的节日设置10月有问题

image
如上图设置,对应的农历 10月29 那天并不会显示妈妈生日;
我尝试改了一下js的G(h),当h >=10,在浏览器下已经好了,但是打包出来的app还是有问题,希望能解决一下
修改如下

 function G(h) {
    return h < 10 ? "0" + h : h.toString()
 }

ps: 没接触过os x开发,折腾了一天没能解决

请问是否可以增加支持M1芯片

请问是否可以增加支持M1芯片 当前版本可以打开 但是在任务栏没有任何图标显示 在Monitor中也还是可以看到进程存在的

建议将华文黑体的依赖去掉

现在mac电脑的新版本中默认字段已经不是华文黑体,每次打开mac时都会提示下载这个字体,这是我不想看到的。

建议修改为:
font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.