Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac加入Root Helper,并修复更新提示 #2513

Merged
merged 4 commits into from
Mar 28, 2016
Merged

Mac加入Root Helper,并修复更新提示 #2513

merged 4 commits into from
Mar 28, 2016

Conversation

guoye-zhang
Copy link
Contributor

NSAlert必须在主线程中使用

@guoye-zhang guoye-zhang changed the title 修复Mac上的更新提示 修复Mac上的更新提示,并加入Helper Mar 27, 2016
@guoye-zhang guoye-zhang changed the title 修复Mac上的更新提示,并加入Helper Mac加入Root Helper,并修复更新提示 Mar 27, 2016
@guoye-zhang
Copy link
Contributor Author

Helper因为需要设置suid,不能用脚本语言写。安装helper后不再需要输入密码

张国晔 added 3 commits March 27, 2016 19:22
no more password
Safari enforces https on Twitter so http ajax will fail
@xxnet
Copy link
Contributor

xxnet commented Mar 28, 2016

​恩,要让用户使用方便。
不过shell脚本也是可以设置suid的吧

@guoye-zhang
Copy link
Contributor Author

貌似因为考虑安全因素,脚本即使设置了suid也会被忽略掉

@xxnet xxnet merged commit e026a38 into XX-net:master Mar 28, 2016
@xxnet
Copy link
Contributor

xxnet commented Mar 28, 2016

​看来Mac和Linux不一样

@guoye-zhang
Copy link
Contributor Author

Linux应该也是一样的:http://www.vidarholen.net/contents/blog/?p=30

@xxnet
Copy link
Contributor

xxnet commented Mar 28, 2016

​学习了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants