1

我有这个 jar 文件,我把它变成了 dmg。现在,我希望发生的是,当用户运行此 dmg 并安装应用程序时,此应用程序将始终在启动时加载。

这是一项容易完成的任务吗?我可以通过修改包内容附带的 plist 文件来做到这一点,还是比这更困难?

4

1 回答 1

0

I would look into launchctl for your needs. You can place a .launchd.conf in your user's HOME directory, from the looks of things, that will run automatically at startup.

于 2011-11-30T00:21:52.133 回答