V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
helee9199

mac 下 如果 vscode 有更新, 右键打开方式用重复多余的版本

  •  
  •   helee9199 · Jun 26, 2022 · 3296 views
    This topic created in 1403 days ago, the information mentioned may be changed or developed.

    rt 这个问题一直困扰我, 感觉微软家下的两个软件 edge 和 vscode 都会有这样的问题 软件更新后 右键打开方式会存在多个版本的选项 甚至重装系统也无法解决。只要软件更新就会出现一个多的选项 网上搜索的解决方法是 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user;killall Finder;echo "Open With has been rebuilt, Finder will relaunch" 但是 只是当时去掉了 重启电脑后依然存在 有没有大佬告知下 到底如果处理 或者这是微软家的软件 feature ?

    5 replies    2022-06-26 13:20:03 +08:00
    Jaosn
        1
    Jaosn  
       Jun 26, 2022
    没遇到过
    mschultz
        2
    mschultz  
       Jun 26, 2022   ❤️ 1
    好像确实是微软家软件 Updater 的 feature ?

    我在 System Preferences - General 中设置默认浏览器的地方看到有两个不同版本的 Edge:


    在左上角苹果菜单 - About This Mac - System Report - Applications 里看到 3 个 Edge ,其中多余的版本都在 ~/Library/Application Support/Microsoft/EdgeUpdater/apps/msedge-stable 里面的。



    我自己 rm -rf 10* 之后,似乎就清净了。
    helee9199
        3
    helee9199  
    OP
       Jun 26, 2022
    https://sm.ms/image/Rln9cPzTIyNOsMe

    @mschultz emm 这个好像是 edge 的一个解决方法 但是 vscode 好像没这个目录。
    @Jaosn 是 mac 系统么?你找个 xml 右键 打开方式子菜单里看看有没有。
    helee9199
        4
    helee9199  
    OP
       Jun 26, 2022
    @mschultz 感谢一下
    在左上角苹果菜单 - About This Mac - System Report - Applications 里看到 3 个 Edge
    这段给我指明了方向,原来是我之前重装系统后我移动硬盘上的那一版
    删除了就好了。 谢谢
    BenX
        5
    BenX  
       Jun 26, 2022
    edeg 的 Updater 锅,傻的一逼。非要存历史版本
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5381 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:51 · PVG 15:51 · LAX 00:51 · JFK 03:51
    ♥ Do have faith in what you're doing.