分类 macOS 下的文章

今天为了本地编译一个开源软件,用 homebrew 安装了 rustc,结果后来发现导致 php 命令报错。

dyld[16856]: Library not loaded: /opt/homebrew/opt/libavif/lib/libavif.15.dylib
  Referenced from: <87C1A268-34E4-396F-8BBC-D5591064E333> /opt/homebrew/Cellar/gd/2.3.3_5/lib/libgd.3.dylib
  Reason: tried: '/opt/homebrew/opt/libavif/lib/libavif.15.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libavif/lib/libavif.15.dylib' (no such file), '/opt/homebrew/opt/libavif/lib/libavif.15.dylib' (no such file), '/usr/local/lib/libavif.15.dylib' (no such file), '/usr/lib/libavif.15.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/libavif/1.0.1/lib/libavif.15.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libavif/1.0.1/lib/libavif.15.dylib' (no such file), '/opt/homebrew/Cellar/libavif/1.0.1/lib/libavif.15.dylib' (no such file), '/usr/local/lib/libavif.15.dylib' (no such file), '/usr/lib/libavif.15.dylib' (no such file, not in dyld cache)
Abort trap: 6

- 阅读剩余部分 -

新版本迅雷影音字幕缓存路径是

/Users/你的用户名/Library/Application Support/XLPlayer/SubtitleCache/subtitles_v1

在系统自带的 终端 软件执行 open 命令打开 subtitles_v1 目录:

(以下命令可以直接复制粘贴到终端运行)

open ~/Library/Application\ Support/XLPlayer/SubtitleCache/subtitles_v1

即可看到很多目录了,根据你播放视频的时间,手动查找字幕文件,如图:

- 阅读剩余部分 -