alfred-timelog - You could leverage Alfred and Google Sheets to track your time with ease. The goal is to track your time in a way that is easy to understand how much time you spend on.
alfred-fork-open - Alfred 5 workflow for opening folders in Fork.
除了自用之外,也會將這些 workflow 發布到 Alfred App Community Forum 上,讓更多人可以使用。當 Apple 推出 MacOS Catalina 時,它帶有一些安全功能,以確保你只使用受信任的二進位制檔案。這要求二進位制檔案由蘋果公司自己簽署和公證,否則你會得到一個錯誤。。當在 Alfred Workflow 使用 Golang 編譯執行時就會遇到這個問題。
$ gon -log-level=debug -log-json ./gon.json
==> ✏️ Signing files...
{"@level":"info","@message":"executing codesigning","@module":"sign","@timestamp":"2022-11-16T14:05:09.694431+08:00","command_args":["codesign","-s","Developer ID Application: KAI CHU CHUNG","-f","-v","--timestamp","--options","runtime","./exe"],"command_path":"/usr/bin/codesign","files":["./exe"]}{"@level":"info","@message":"codesigning complete","@module":"sign","@timestamp":"2022-11-16T14:05:10.537608+08:00","output":"./exe: replacing existing signature\n./exe: signed Mach-O universal (x86_64 arm64) [exe]\n"} Code signing successful
⚠️ No items to notarize
You must specify a 'notarize' section or a 'source' section plus a 'zip' or 'dmg' section in your configuration to enable packaging and notarization. Without these sections, gon
will only sign your input files in 'source'.
透過 codesign 指令來檢查 code sign 結果
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$ codesign -dvv exe
Executable=/Users/kaichuchung/tmp/c/exe
Identifier=exe
Format=Mach-O universal (x86_64 arm64)CodeDirectory v=20500size=12015flags=0x10000(runtime)hashes=370+2 location=embedded
Signature size=9058Authority=Developer ID Application: KAI CHU CHUNG (5ST5F35WQV)Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=Nov 16, 2022 at 00:26:11
Info.plist=not bound
TeamIdentifier=5ST5F35WQV
Runtime Version=10.9.0
Sealed Resources=none
Internal requirements count=1size=164