-
Notifications
You must be signed in to change notification settings - Fork 0
/
TeamViewerPortable.munki.recipe
118 lines (118 loc) · 3.16 KB
/
TeamViewerPortable.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
<?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 TeamViewer and imports into Munki.</string>
<key>Identifier</key>
<string>com.github.mkuron.munki.TeamViewer</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>TeamViewer</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/TeamViewer</string>
<key>MUNKI_CATEGORY</key>
<string>Internet</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>category</key>
<string>%MUNKI_CATEGORY%</string>
<key>description</key>
<string>All-In-One Solution for Remote Access and Support over the Internet.</string>
<key>developer</key>
<string>TeamViewer GmbH</string>
<key>display_name</key>
<string>TeamViewer</string>
<key>minimum_os_version</key>
<string>10.6</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
<key>unattended_uninstall</key>
<true/>
</dict>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>ParentRecipe</key>
<string>io.github.hjuutilainen.download.TeamViewer</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>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/payload/root/Applications</string>
<key>pkgdirs</key>
<dict/>
</dict>
<key>Processor</key>
<string>PkgRootCreator</string>
</dict>
<dict>
<key>Comment</key>
<string>TeamViewer 9 installs in /Applications/TeamViewer.app so extract accordingly</string>
<key>Arguments</key>
<dict>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/unpack/TeamViewerApp.pkg/Payload</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/payload/root/Applications</string>
</dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
</dict>
<dict>
<key>Processor</key>
<string>DmgCreator</string>
<key>Arguments</key>
<dict>
<key>dmg_root</key>
<string>%RECIPE_CACHE_DIR%/payload/root/Applications</string>
<key>dmg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%.dmg</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>
</array>
</dict>
<key>Processor</key>
<string>PathDeleter</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%dmg_path%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
<key>Processor</key>
<string>MunkiImporter</string>
</dict>
</array>
</dict>
</plist>