开发者

Mac App Store app with elevated privileges

开发者 https://www.devze.com 2023-04-05 04:50 出处:网络
I have a question regarding the Mac App Store. I am planning to release a software with admin开发者_如何学运维 privileges to achieve its core functionality, but according to Apple -

I have a question regarding the Mac App Store. I am planning to release a software with admin开发者_如何学运维 privileges to achieve its core functionality, but according to Apple -

2.27 - Apps that request escalation to root privileges or use setuid attributes will be rejected.

I must seek other ways to achieve this. I am thinking of distributing the app without the need to use root privileges, and offering users an option to download my helper app which will be distributed for free on my website. Some interprocess communication sorcery between my app and the helper seems to fit the bill. But to make things even better -

2.16: Apps that download or install additional code or resources to add functionality or change their primary purpose will be rejected

You see, I would only need to offer a link to my website which in turn suggests users to download the helper. So my question is, is my approach to this going to elude Apple's dreadful rejection?


You should have a look at Awaken, an OS X app distributed with the App Store and that also offer the possibility to download a helper (which requires the user to authorize the elevation of privileges).

That's apparently the same situation as yours, and it was accepted on the App Store.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号