sevengo8378 / blog Goto Github PK
View Code? Open in Web Editor NEW个人博客
个人博客
mac os 中的gatekeeper 在初次打开 XXX.app 的应用时会去验证app的来源, 包括但不限于浏览器下载, 邮件, 等. 如果是则触发 gatekeeper 的安装来源验证,如果失败则不能运行, 这一点mac os 一直是这样的,没有变
在mac-sierra-or-later
下苹果引入一种新的机制叫做Gatekeeper Path Randomization(或者app translocation)。当用户下载并且运行一个app并且触发了gatekeeper时, 系统会将它(你点击的 XXX.app 包括下面所有内容) 临时copy到一个随机且只读的目录. eg. (/private/var/folds/mv/rq2pm20s123asdasdasdasdsdfsd/T/AppTranstion/12312312-asdasd-asdasd-as-das-das-d/d/xxxx.app)。直到用户移动应用到其他路径此机制不再执行,这里有几点需要注意,
App Data
是 ~/Library/Application Support/com.company.xxx
mac-sierra-or-later
, 则还是按照以前的方式运行https://weblog.rogueamoeba.com/2016/06/29/sierra-and-gatekeeper-path-randomization/
https://news.ycombinator.com/item?id=12002500
http://www.macworld.com/article/3083346/os-x/macos-sierra-faq-what-you-need-to-know-about-the-new-mac-operating-system.html
https://hipsterpixel.co/2016/06/29/macos-sierra-s-gatekeeper-update-could-be-problematic/
https://developer.apple.com/videos/play/wwdc2016/706/
http://apple.stackexchange.com/questions/254684/macos-sierra-missing-app-icon-in-dock-and-check-for-updates-fails-for-certa/254689
potionfactory/LetsMove#56
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.