-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathCitrixWorkspace.munki.recipe
147 lines (146 loc) · 4.32 KB
/
CitrixWorkspace.munki.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the current release version of Citrix Workspace and imports into Munki.
Set the DERIVE_MIN_OS variable to a non-empty string to set the minimum_os_version via MunkiInstallsItemsCreator. This requires a minimum AutoPkg version of 2.7 please update if you're not already running it.</string>
<key>Identifier</key>
<string>io.github.hjuutilainen.munki.CitrixWorkspace</string>
<key>Input</key>
<dict>
<key>DERIVE_MIN_OS</key>
<string>YES</string>
<key>NAME</key>
<string>CitrixWorkspace</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/Citrix</string>
<key>MUNKI_CATEGORY</key>
<string>Internet</string>
<key>pkginfo</key>
<dict>
<key>blocking_applications</key>
<array>
<string>Citrix Workspace</string>
</array>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>category</key>
<string>%MUNKI_CATEGORY%</string>
<key>description</key>
<string>The new Citrix Workspace app gives users a great experience—a secure, contextual, unified workspace—on any device. Give teams instant access to all their SaaS and web apps, files, mobile apps, Citrix Virtual Apps and Desktops from an easy-to-use, all-in-one interface powered by Citrix Workspace services.</string>
<key>developer</key>
<string>Citrix Systems, Inc.</string>
<key>display_name</key>
<string>Citrix Workspace</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
<key>unattended_uninstall</key>
<true/>
</dict>
</dict>
<key>MinimumVersion</key>
<string>2.7</string>
<key>ParentRecipe</key>
<string>io.github.hjuutilainen.download.CitrixWorkspace</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>flat_pkg_path</key>
<string>%pathname%/*.pkg</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpack</string>
</dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/unpack/com.citrix.ICAClient.pkg/Payload</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/payload</string>
</dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>flat_pkg_path</key>
<string>%RECIPE_CACHE_DIR%/payload/Library/Application Support/CitrixPackage/com.citrix.apps.cwa.pkg</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/payload2</string>
</dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/payload2/com.citrix.ICAClientcwa.pkg/Payload</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/payload3</string>
</dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>faux_root</key>
<string>%RECIPE_CACHE_DIR%/payload3</string>
<key>installs_item_paths</key>
<array>
<string>/Applications/Citrix Workspace.app</string>
</array>
<key>derive_minimum_os_version</key>
<string>%DERIVE_MIN_OS%</string>
</dict>
<key>Processor</key>
<string>MunkiInstallsItemsCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict/>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<dict>
<key>Processor</key>
<string>MunkiImporter</string>
<key>Arguments</key>
<dict>
<key>munkiimport_pkgname</key>
<string>Install Citrix Workspace.pkg</string>
<key>pkg_path</key>
<string>%pathname%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>path_list</key>
<array>
<string>%RECIPE_CACHE_DIR%/unpack</string>
<string>%RECIPE_CACHE_DIR%/payload</string>
<string>%RECIPE_CACHE_DIR%/payload2</string>
<string>%RECIPE_CACHE_DIR%/payload3/</string>
</array>
</dict>
<key>Processor</key>
<string>PathDeleter</string>
</dict>
</array>
</dict>
</plist>