asmvik/skhd

Can't access calendar data using icalbuddy

开放

#104 创建于 2019年12月17日

 (5 条评论) (0 个反应) (0 位负责人)C (240 个派生)github user discovery
help wantedquestion

仓库指标

星标
 (8,081 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I'm trying to use icalBuddy to get the current calendar event (icalBuddy eventsNow), but icalBuddy reports:

error: No calendars.

That's not correct, though, and doesn't match what I get running it from iTerm. That's probably because i'm on Mojave, and when I run it from iTerm (the first time), I'm prompted to allow iTerm to access my calendars, which I've allowed. But when I run it from skhd, I never get prompted, and there doesn't appear to be a way to manually add it.

Is there a trick to enabling this permission for skhd, which I think will fix the problem?

贡献者指南