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

不懂 Swift 想改一个开源项目不知道如何构建

  •  
  •   zalss · Feb 24, 2022 via iPhone · 2152 views
    This topic created in 1523 days ago, the information mentioned may be changed or developed.

    这是一个 finder 右键添加 shell 脚本的工具,可以将指定目录的 shell 脚本设为右键菜单

    但是有一个很不爽的地方:每次重启都会自动将默认的脚本添加到右键菜单

    我找到了代码的位置: https://github.com/samiyuru/custom-finder-right-click-menu/blob/master/FinderMenu/main.swift 注释掉第 94-97 行应该就可以了

    但是我真的不会构建,有没有大佬可以构建一份,非常感谢

    1 replies    2022-04-12 18:03:16 +08:00
    debuggeeker
        1
    debuggeeker  
       Apr 12, 2022
    下载代码,安装好 xcode ,在 find 中双击 xcodeproj 后缀文件就能在 xcode 打开了。
    打开之后选择当前 Mac ,点击 run ,就能安装到电脑上。如果中途报错,再解决。通常都是生成临时签名。选择自己的苹果账号回车就行了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5973 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 03:33 · PVG 11:33 · LAX 20:33 · JFK 23:33
    ♥ Do have faith in what you're doing.