-
Notifications
You must be signed in to change notification settings - Fork 1
/
SupportCompanion.intune.recipe
128 lines (128 loc) · 3.54 KB
/
SupportCompanion.intune.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
<?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 latest version of Support Companion and imports it into Intune.</string>
<key>Identifier</key>
<string>com.github.almenscorner.intune.SupportCompanion</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>SupportCompanion</string>
<key>categories</key>
<array>
<string>Productivity</string>
</array>
<key>description</key>
<string>Support Companion is a macOS helper application, designed to empower end-users by providing them with quick and easy access to crucial information and actions.</string>
<key>developer</key>
<string>Tobias Almen</string>
<key>display_name</key>
<string>Support Companion</string>
<key>information_url</key>
<string>https://github.com/macadmins/supportcompanion</string>
<key>minimumSupportedOperatingSystem</key>
<string>v14_0</string>
</dict>
<key>MinimumVersion</key>
<string>0.4.0</string>
<key>ParentRecipe</key>
<string>com.github.almenscorner.download.SupportCompanion</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpack</string>
<key>flat_pkg_path</key>
<string>%pathname%</string>
</dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pattern</key>
<string>%RECIPE_CACHE_DIR%/unpack/SupportCompanion*.pkg</string>
</dict>
<key>Processor</key>
<string>FileFinder</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/payload/</string>
<key>pkg_payload_path</key>
<string>%found_filename%/Payload</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pattern</key>
<string>%RECIPE_CACHE_DIR%/payload/**/SupportCompanion.app/Contents/Info.plist</string>
</dict>
<key>Processor</key>
<string>FileFinder</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>info_path</key>
<string>%found_filename%</string>
<key>plist_keys</key>
<dict>
<key>CFBundleIdentifier</key>
<string>bundleID</string>
<key>CFBundleShortVersionString</key>
<string>version</string>
</dict>
</dict>
<key>Processor</key>
<string>PlistReader</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>app_file</key>
<string>%RECIPE_CACHE_DIR%/payload/Applications/SupportCompanion.app</string>
<key>name</key>
<string>%NAME%</string>
</dict>
<key>Processor</key>
<string>com.github.almenscorner.intune-upload.processors/IntuneAppIconGetter</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>app_file</key>
<string>%flat_pkg_path%</string>
<key>bundleId</key>
<string>%bundleID%</string>
<key>bundleVersion</key>
<string>%version%</string>
<key>description</key>
<string>%description%</string>
<key>displayname</key>
<string>%display_name%</string>
<key>icon</key>
<string>%icon_file_path%</string>
<key>publisher</key>
<string>%developer%</string>
<key>version</key>
<string>%version%</string>
</dict>
<key>Processor</key>
<string>com.github.almenscorner.intune-upload.processors/IntuneAppUploader</string>
</dict>
</array>
</dict>
</plist>