Skip to content

Commit 3a24b91

Browse files
authored
Merge pull request #299 from paul-cossey/master
Update TeXstudio.munki.recipe
2 parents fb69cae + 5ab2fce commit 3a24b91

File tree

1 file changed

+57
-1
lines changed

1 file changed

+57
-1
lines changed

TeXstudio/TeXstudio.munki.recipe

+57-1
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,75 @@
4040
<string>io.github.hjuutilainen.download.TeXstudio</string>
4141
<key>Process</key>
4242
<array>
43+
<dict>
44+
<key>Arguments</key>
45+
<dict>
46+
<key>archive_path</key>
47+
<string>%pathname%</string>
48+
<key>destination_path</key>
49+
<string>%RECIPE_CACHE_DIR%/Applications</string>
50+
<key>purge_destination</key>
51+
<true/>
52+
</dict>
53+
<key>Processor</key>
54+
<string>Unarchiver</string>
55+
</dict>
56+
<dict>
57+
<key>Arguments</key>
58+
<dict>
59+
<key>pattern</key>
60+
<string>%RECIPE_CACHE_DIR%/Applications/*.app</string>
61+
</dict>
62+
<key>Processor</key>
63+
<string>FileFinder</string>
64+
</dict>
65+
<dict>
66+
<key>Arguments</key>
67+
<dict>
68+
<key>destination_path</key>
69+
<string>%RECIPE_CACHE_DIR%/texstudio/texstudio.app</string>
70+
<key>source_path</key>
71+
<string>%RECIPE_CACHE_DIR%/Applications/%found_basename%</string>
72+
</dict>
73+
<key>Processor</key>
74+
<string>Copier</string>
75+
</dict>
76+
<dict>
77+
<key>Arguments</key>
78+
<dict>
79+
<key>dmg_path</key>
80+
<string>%RECIPE_CACHE_DIR%/%NAME%.dmg</string>
81+
<key>dmg_root</key>
82+
<string>%RECIPE_CACHE_DIR%/texstudio</string>
83+
</dict>
84+
<key>Processor</key>
85+
<string>DmgCreator</string>
86+
</dict>
4387
<dict>
4488
<key>Processor</key>
4589
<string>MunkiImporter</string>
4690
<key>Arguments</key>
4791
<dict>
4892
<key>pkg_path</key>
49-
<string>%pathname%</string>
93+
<string>%RECIPE_CACHE_DIR%/%NAME%.dmg</string>
5094
<key>munkiimport_appname</key>
5195
<string>texstudio.app</string>
5296
<key>repo_subdirectory</key>
5397
<string>%MUNKI_REPO_SUBDIR%</string>
5498
</dict>
5599
</dict>
100+
<dict>
101+
<key>Arguments</key>
102+
<dict>
103+
<key>path_list</key>
104+
<array>
105+
<string>%RECIPE_CACHE_DIR%/texstudio</string>
106+
<string>%RECIPE_CACHE_DIR%/Applications</string>
107+
</array>
108+
</dict>
109+
<key>Processor</key>
110+
<string>PathDeleter</string>
111+
</dict>
56112
</array>
57113
</dict>
58114
</plist>

0 commit comments

Comments
 (0)