xingchong
V2EX  ›  macOS

修改这个 bug 算是 macOS 的史诗级难题了嘛?

  •  
  •   xingchong · Sep 25, 2025 · 2962 views
    This topic created in 406 days ago, the information mentioned may be changed or developed.

    更新了 26 ,发现 nas 的这个图标还是错的。。 还是已经经历几个数字版本的更新了,不会再改了嘛? longshot20250925214612.png

    10 replies  •  2025-10-08 19:34:58 +08:00
    Dream4U
    Dream4U
    Sep 25, 2025
    1
    搜一下,修改一个文件即可。

    xingchong
    xingchong
    OP
    Sep 25, 2025
    2
    @Dream4U 啊,我貌似一直都没找到在哪能修改
    PandaIsGood
    PandaIsGood
    Sep 25, 2025
    3
    大概率没啥人反馈,沉底了
    Dream4U
    Dream4U
    Sep 26, 2025
    4
    @xingchong
    进 NAS SSH ,改两个文件

    /usr/syno/etc/rc.sysv/avahi.sh
    /usr/syno/etc.defaults/rc.sysv/avahi.sh

    搜索 `<txt-record>model=Xserve</txt-record>`
    替换为 `<txt-record>model=TimeCapsule6,116</txt-record>`

    文件中有两处
    unneeded
    unneeded
    Sep 26, 2025
    5
    或许和一些 finder 扩展有关
    我更新以后 time machine 变成了压缩包的图标,把 maczip 和 qmenu 扩展关了就好了
    xingchong
    xingchong
    OP
    Sep 26, 2025
    6
    @Dream4U 我回去试试
    leozeeho
    leozeeho
    Sep 30, 2025
    7
    这个改法不对,是 dsm6 的方法,dsm7 无效。
    xingchong
    xingchong
    OP
    Oct 2, 2025
    8
    @leozeeho 有啥好办法么
    leozeeho
    leozeeho
    Oct 3, 2025
    9
    @xingchong
    vi /etc/avahi/services/smb.service (你用 smb 就编辑 smb.service, 用 afp 就编辑 afp.service ),搜索 `<txt-record>model=Xserve</txt-record>`
    替换为 `<txt-record>model=TimeCapsule6,116</txt-record>`
    保存退出 vi ,systemctl restart avahi 重启服务
    mac 这边 rm ~/Library/Caches/com.apple.finder/Cache.db && killall Finder ,应该马上能生效
    xingchong
    xingchong
    OP
    Oct 8, 2025
    10
    @leozeeho 感谢,我试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4943 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:33 · PVG 15:33 · LAX 23:33 · JFK 02:33
    ♥ Do have faith in what you're doing.