macos - mac osX packageMaker : how to set the destination to the user home directory?

标签 macos home-directory

我正在使用 packageMaker 3.04 在 mac osx 10.6.8 上构建安装程序。我可以在“目的地”安装特定内容 /Applications那没关系。现在,我需要将另一个内容添加到用户主目录( /Documents )

我试过~/$HOME/设置该特定包的目的地,但在安装时,实际位置为空。

那么,我该如何正确设置呢?

最佳答案

在 Package Maker 中,在左侧“内容” Pane 的正上方,选择您的包图标。然后,在右侧 Pane 中,将安装目标更改为“用户主目录”。然后,对于所有安装位置,只需使用/作为根目录。这将被解释为安装用户的顶级主目录。

关于macos - mac osX packageMaker : how to set the destination to the user home directory?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7106735/

相关文章:

regex - 连字符和撇号字符 - 不同语言的相同 ASCII 代码?

c - 通过修改重用宏中的变量

python - 在 Swift OS X 应用程序中使用 Python 模块

swift - 为什么在 xcode 中,主目录显示为/Users/myname/Library/Containers/... 而不是主文件夹?

go - 获取用户的主目录

ios - iCloud 和鞋盒应用程序 : How to atomically sync a file package?

c++ - 在 Mac OS X 上使用 ffmpeg 和 Qt

scala - 主目录中的类型安全配置文件

linux - 我的主目录与 "/var/www/"Apache Linux 相同

windows - windows用户配置文件目录的正确使用