相关疑难解决方法(0)

有没有更快的方法来更改与 OS X 上的文件类型关联的默认应用程序?

有什么比使用RCDefaultAppMagic Launch更方便的,或者只是重复按下 Finder 信息面板中的“全部更改”按钮?

我想写一个 shell 脚本来修改 Info.plist 文件中的 CFBundleDocumentTypes 数组。但是每个应用程序都有多个需要更改的键(有时是一个图标)。

lsregister 不能用于对启动服务数据库进行特定修改。

$ `locate lsregister` -h
lsregister: [OPTIONS] [ <path>... ]
                      [ -apps <domain>[,domain]... ]
                      [ -libs <domain>[,domain]... ]
                      [ -all  <domain>[,domain]... ]

Paths are searched for applications to register with the Launch Service database.
Valid domains are "system", "local", "network" and "user". Domains can also
be specified using only the first letter.

  -kill     Reset the Launch Services database before doing anything else
  -seed     If …
Run Code Online (Sandbox Code Playgroud)

macos

14
推荐指数
1
解决办法
5716
查看次数

标签 统计

macos ×1