Skip to content

Only Apple can do #110

@Zhang-Siyang

Description

@Zhang-Siyang

主播的 Spotify.app 一直都有类似“未验证的开发者”的问题,之前都是手动搜索到文件夹,然后手动打开,再到系统设置中打开隐私与安全,手选“Open Anyway”才能打开。

今天又发生这样的事,实在讨厌,所以就问了下GPT可不可以通过命令行完成,没想到真的可以。[1]

两条命令是:

# 定位到应用
open -R /Applications/Spotify.app
# 打开系统设置页面
open "x-apple.systempreferences:com.apple.preference.security?General"
  1. 还问了下 Google,“macos how show folder in enclosure folder cmd line”,未果(后来仔细看了下,Quora其实提到了)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions