gklll
V2EX  ›  Apple

Alfred 是用什么构建的?

  •  
  •   gklll · May 27, 2024 · 1991 views
    This topic created in 732 days ago, the information mentioned may be changed or developed.

    如题,不太清楚 Alfred 是用什么技术构建的,他的设置界面看起来是 Appkit 搞的,果味十足。但不知道启动器以及插件系统是用什么做的,也没找到相关资料。作为对比,Raycast 有一篇很棒的博客( https://www.raycast.com/blog/how-raycast-api-extensions-work )把他们在 macOS 下构建原生插件系统的努力讲的很明白,大致意思似乎是他们构建了一套兼容 JS 但使用 macOS 原生技术渲染的渲染器。

    有没有大佬能满足下好奇心,Alfred 的技术构成是啥样的🤔以及不太清楚是否使用原生技术对性能会不会产生很大的影响

    1 replies    2024-05-27 16:58:49 +08:00
    RayJiang9
        1
    RayJiang9  
       May 27, 2024
    https://twitter.com/tualatrix/status/1777574176330789143

    根据这个推文,可以用这个命令看 debug 信息

    sudo /Applications/Alfred\ 4.app/Contents/Preferences/Alfred\ Preferences.app/Contents/MacOS/Alfred\ Preferences -_NS_4445425547 YES
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1255 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:40 · PVG 07:40 · LAX 16:40 · JFK 19:40
    ♥ Do have faith in what you're doing.