首页 > 其他分享 >Mac OS XML禁用app模板 配合work space one 使用

Mac OS XML禁用app模板 配合work space one 使用

时间:2023-10-31 12:14:04浏览次数:36  
标签:XML OS name space 禁用 app path com

参考link: https://www.youtube.com/watch?v=NOVZpp2kNUA

支持禁用字段:name/cdhash/path/bundleId

 1 <dict>
 2     <key>Restrictions</key>
 3     <array>
 4         <dict>
 5             <key>Attributes</key>
 6             <dict>
 7                 <key>name</key>
 8                 <array>
 9                     <string>Anaconda-Navigator</string>
10                 </array>
11                 <key>cdhash</key>
12                 <array>
13                     <string>da23241sda4214231jjh34hedeqwe</string>
14                 </array>
15                 <key>path</key>
16                 <array>
17                     <string>/usr/sdbin/diskutil/string>
18                 </array>
19                 <key>bundleId</key>
20                 <array>
21                     <string>com.anaconda.io</string>
22                 </array>
23             </dict>
24             <key>Actions</key>
25             <array>
26                 <integer>1</integer>
27             </array>
28             <key>Message</key>
29             <string>此软件未采购,禁止使用。如需使用请联系Corp IT。</string>
30         </dict>
31     </array>
32     <key>PayloadDisplayName</key>
33     <string>Restricted Software Policy</string>
34     <key>PayloadIdentifier</key>
35     <string>HubSettings.93f1655a-59fb-42dc-bc31-9571275cb12b</string>
36     <key>PayloadOrganization</key>
37     <string>VMware</string>
38     <key>PayloadType</key>
39     <string>com.vmware.hub.mac.restrictions</string>
40     <key>PayloadUUID</key>
41     <string>1D7F0D17-369B-4766-9CA0-D2B4537657C1</string>
42     <key>PayloadVersion</key>
43     <integer>1</integer>
44 </dict>

 

标签:XML,OS,name,space,禁用,app,path,com
From: https://www.cnblogs.com/donglirx/p/17799942.html

相关文章

  • element cannot be mapped to a null key的解决方法
    目录报错:分析解决方案报错:日志ERROR[o.a.c.c.C.[.[.[/sa].[dispatcherServlet]]-Servlet.service()forservlet[dispatcherServlet]incontextwithpath[/sa]threwexception[Requestprocessingfailed;nestedexceptionisjava.lang.NullPointerException:ele......
  • Android开发App回到桌面但不退出APP的实现
    方法1:Intentintent=newIntent();//创建Intent对象intent.setAction(Intent.ACTION_MAIN);//设置Intent动作intent.addCategory(Intent.CATEGORY_HOME);//设置Intent种类intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);//标记context.startActivity(intent);方法2:......
  • PasteSpider之appsettings.json中的Serilog的配置,分流不同日志层级的信息!
    在实际使用Serilog中,我们通常会有不一样的需求,常见的比如1.按照等级,高级哪个等级的才记录2.记录文件每个多大,超过的划分到下一个文件中3.不同等级的记录到不同的位置中4.按照不一样的格式输出以下是PasteSpider中的appsettings.json中关于Serilog的配置"Serilog":{......
  • App支付报错"商家订单参数异常,请重新发起付款"排查流程
     今天在对接支付宝APP支付的时候遇到了一个报错,记录下问题的排查过程~  报错过程APP中弹窗提示的报错“商家订单参数异常,请重新发起付款”,检查了下参数感觉没啥问题,不知道是啥问题导致的。 去官网搜了下,折腾排查了一遍,发现是环境问题,没有切到沙箱环境导致的(*/......
  • React Native expo项目设置app顶部的状态栏
       importReactfrom'react'import{createNativeStackNavigator}from'@react-navigation/native-stack'import{getRouter}from'./config'import{ErrorBoundary}from'../component/light'importVDebug,{initT......
  • Linxu解决systemctl启动服务失败,Error: No space left on device【转】
    查看磁盘空间实际占用情况查看磁盘inodes占用情况这两部发现都没有问题。要是哪里发现被沾满了,直接删除解放空间。此篇是讲另一种情况。查看默认inotify的max_user_watches值[root@VM-4-4-centosnginx]#sysctlfs.inotifyfs.inotify.max_queued_events=16384fs.inotif......
  • 教育管理工具类 APP 在智慧校园中的应用探究?
    智慧校园是指利用信息化技术,将学校的管理、教育教学等方面进行整合和优化,实现校园运行的智能化和高效化。在智慧校园建设中,教育管理工具类APP发挥着重要的作用。本文将详细探究教育管理工具类APP在智慧校园中的应用,并从以下几个方面进行介绍:一、招生与报名管理教育管理工具类A......
  • 【Azure Function App】如何修改Azure函数应用的默认页面呢?
    问题描述当在Azure中创建了一个函数应用(FunctionApp)后,访问默认URL会得到一个默认的页面。是否有办法修改这个默认页面呢?  问题解答在之前的博文中,介绍了修改AppService的默认页面。1:【Azure应用服务】AppService默认页面暴露Tomcat版本信息,存在安全风险 :https://www.cnbl......
  • python最新采集京东app商品详情数据(2023-10-30)
    一、技术要点: 1、cookie可以从手机app端用charles抓包获取; 2、无需安装nodejs,纯python源码; 3、商品详情接口为:functionId="wareBusiness"; 4、clientVersion="10.1.4"同时也支持更高的版本; 5、sign签名算法已转成python源码;#-*-coding:UTF-8-*-importreques......
  • 安卓app开发注意事项及部分源码分享
    随着智能手机的普及,安卓app开发已成为当今的热门领域,在开发过程中,为了提高app的质量和用户体验,需要注意一些关键事项,同时掌握部分源码也是非常必要的。一、安卓app开发注意事项1、安全问题在安卓app开发中,安全问题至关重要,用户数据泄露、恶意等安全问题会给用户带来严重损失,为了确......