如何安装守护程序shell脚本

如何安装守护程序shell脚本

本文介绍了OSX Mac App Store:如何安装守护程序shell脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Mac App Store编写一个涉及安装守护程序的应用程序.守护程序可以是Bourne shell或Python中非常简单的"Hello World" shell脚本.每次机器启动时,它应自动运行.

I'd like to write an app for the Mac App Store that involves installing a daemon. The daemon can be a dead-simple "Hello World" shell script, in either Bourne shell or Python. It should run automatically each time the machine boots.

我试图使用packagemaker安装脚本,但始终无法弄清楚(后来得知packagemaker仍然与App Store不兼容).

I tried to get the script installed using packagemaker, but was never able to quite figure it out (and then later learned that packagemaker was not compatible with the App Store anyway).

是否可以安装Shell脚本,以便它在Mac App Store应用程序重启时自动运行?

Is there a way to install a shell script, such that it runs automatically on reboot for Mac App Store apps?

推荐答案

我认为不允许Mac App Store应用程序运行后台进程.引用此处作为示例(我尚未阅读技术准则.

I don't believe Mac App Store applications are allowed to run background processes. That's cited here, as an example (I have not read the technical guidelines).

这篇关于OSX Mac App Store:如何安装守护程序shell脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 15:53