
Macos 实用工具记述:一
otool -f print the fat headers -a print the archive header -h print the mach header -l print the load commands -L print shared libraries use...
otool -f print the fat headers -a print the archive header -h print the mach header -l print the load commands -L print shared libraries use...
登录用户 获取登录用户名 uuid 需要获取硬件UUID,用这个UUID拼出目标文件名。具体: 获取 通过IOKit库查询“IOPlatformExpertDevice”服务,并从中读取“IOPlatformUUID”属性,获取的就是硬件的UUID 这个UUID是针对Mac计算机...
安装Rosetta 2 打开一个Rosetta终端 编译相关 zlib 开始编译 编译openssl 拉代码 rosetta 需要M2下编译x86_64 配置 编译安装 安装上面所指定的路径,将会安装在当前路径下的out文件夹里面 macOS编译libcurl 创建配置 如果提示...
服务类型 Login item 不由launchd管理,其他3个是 有UI XPC service 无UI,除非是用IOSurface这种方式 Launch Daemon 运行在系统上下文中,其他三个运行在用户上下文中 Launch Agent 不推荐使用UI XPC servi...
Windows 安装 为了确定安装目标,在安装前后调用了get_reg_items get_reg_items 上买的Windows实现是通过枚举注册表 把几个目标路径的注册表存到一起 然后根据安装前后这些路径下的注册表的项数,来找出新增的那个 通过比较,确定新增项,然后记录下新...
搜索当前分类