Mkdir700's Note

Mkdir700's Note

Command

在 MacOS 上获取应用的捆绑标识符(Bundle identifier)

在 MacOS 上获取应用的捆绑标识符(Bundle identifier)

在 MacOS 上使用命令行工具<code>osascript -e</code>可以获取应用程序的 bundle identifier,该唯一标识符用于标识应用程序。通过执行<code>osascript -e 'id of app &quot;Obsidian&quot;'</code>可以获取名为"Obsidian"应用程序的 bundle identifier。如果应用程序已安装并运行,则会返回相应的标识符,否则可能会显示错误信息。这一过程可以帮助用户在 MacOS 上获取应用的捆绑标识符。
441
0
0
2024-07-17