Skip to content

Exit 0.3.0

Choose a tag to compare

@kadaliao kadaliao released this 27 Nov 04:23
· 9 commits to main since this release

Exit 0.3.0 adds an effect market: install effects other people made, keep them up to date or subscribe to new ones, and submit your own.

New

  • Effect market. Settings → Market lists effects from exit-effects (also on the web). Click a card to try the effect on screen, then Install. Installed effects update themselves, and Install new effects automatically subscribes you to new ones. Downloads are checked against the market's SHA-256 and fall back to a jsDelivr mirror when GitHub is unreachable. You can add other markets under Sources.
  • Submit your effects. Your own effects have a Submit button. Exit runs the same checks as the market, copies the code and opens the submission form on GitHub; a bot checks the effect, renders a preview and opens a pull request with you as the author.
  • @requires header. An effect can name the oldest Exit it works with; older versions skip it instead of failing to compile.
  • A guard against runaway shaders. If an effect makes the GPU time out or fault, or keeps taking more than a quarter second per frame, Exit switches it off (also across relaunches) until its file changes.
  • Command line: --market list | install ID | uninstall ID, --version, --effects-dir DIR to test a folder of effects in isolation, --validate --budget MS and --bench --max-ms MS for CI.

Network

Exit now goes online for the market: when you open Settings → Market, and every few hours if you have market effects installed (to update them) or subscribed to new ones. It only downloads the market's public index.json and effect files; nothing about you is sent.

Install

brew upgrade --cask exit      # or: brew install --cask kadaliao/tap/exit

Or download Exit-0.3.0.dmg below. macOS 14 or later, Apple Silicon and Intel. Signed and notarized.

中文

  • 特效市场:“设置 → 特效市场”列出 exit-effects 里的特效(也可以在网页上浏览)。点卡片先在屏幕上试玩,再点安装。装好的特效会自动更新;勾选“自动安装新上架的特效”就是订阅。下载的文件会按市场给出的 SHA-256 校验,GitHub 连不上时自动改用 jsDelivr 镜像。在“来源”里还可以添加别人开的市场。
  • 投稿:你自己的特效卡片上多了投稿按钮。Exit 先跑一遍和市场相同的检查,再复制代码、打开 GitHub 上的投稿表单;机器人会检查、渲染预览,并以你为作者自动提交 PR。
  • @requires 头字段:特效可以注明需要的最低 Exit 版本,老版本会跳过它,而不是编译报错。
  • 失控着色器保护:如果某个特效让 GPU 超时或出错,或者每帧持续要花四分之一秒以上,Exit 会停用它(重启后依然停用),直到文件被修改。
  • 命令行:--market list | install ID | uninstall ID、--version、--effects-dir 目录(单独测试某个目录里的特效),以及给 CI 用的 --validate --budget 毫秒、--bench --max-ms 毫秒。
  • 联网说明:打开“设置 → 特效市场”时,以及装了市场特效(为了更新)或订阅了新特效时每隔几小时,Exit 会联网检查。只下载市场公开的 index.json 和特效文件,不会发送任何关于你的信息。

安装或升级:brew upgrade --cask exit(首次安装用 brew install --cask kadaliao/tap/exit),或下载下面的 DMG。需要 macOS 14 或更高版本。