-
Notifications
You must be signed in to change notification settings - Fork 1
/
GoogleChromePkg.intune.recipe
115 lines (115 loc) · 3.06 KB
/
GoogleChromePkg.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
<?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 latest Google Chrome enterprise package and imports it into Intune.</string>
<key>Identifier</key>
<string>com.github.almenscorner.intune.GoogleChromePkg</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Google Chrome</string>
<key>categories</key>
<array>
<string>Productivity</string>
</array>
<key>description</key>
<string>Chrome is a fast, simple, and secure web browser, built for the modern web.</string>
<key>developer</key>
<string>Google</string>
<key>display_name</key>
<string>Google Chrome</string>
</dict>
<key>MinimumVersion</key>
<string>0.4.0</string>
<key>ParentRecipe</key>
<string>com.github.autopkg.download.googlechromepkg</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>%RECIPE_CACHE_DIR%/downloads/GoogleChrome.pkg</string>
</dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%destination_path%</string>
<key>pkg_payload_path</key>
<string>%destination_path%/GoogleChrome.pkg/Payload</string>
</dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>info_path</key>
<string>%destination_path%/%NAME%.app/Contents/Info.plist</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>%destination_path%/%NAME%.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>path_list</key>
<array>
<string>%RECIPE_CACHE_DIR%/unpack</string>
</array>
</dict>
<key>Processor</key>
<string>PathDeleter</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>