Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up and fix SMART Utility recipes #113

Merged
merged 2 commits into from
Dec 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions SMART_Utility/SMARTUtility.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
<string>1.0.0</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>DeprecationWarning</string>
<key>Arguments</key>
<dict>
<key>warning_message</key>
<string>Consider switching to the SMART Utility recipes in the flammable-recipes repo. This recipe is deprecated and will be removed in the future.</string>
</dict>
</dict>
<dict>
<key>Arguments</key>
<dict>
Expand Down
55 changes: 4 additions & 51 deletions SMART_Utility/SMARTUtility.pkg.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -14,64 +14,17 @@
<key>MinimumVersion</key>
<string>1.0.0</string>
<key>ParentRecipe</key>
<string>com.github.apizz.download.smartutility</string>
<string>com.github.flammable.download.SMARTUtility</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkgdirs</key>
<dict>
<key>Applications</key>
<string>0775</string>
</dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/pkgroot</string>
<key>app_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/Applications/SMART Utility/SMART Utility.app</string>
</dict>
<key>Processor</key>
<string>PkgRootCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%pathname%</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/pkgroot/Applications</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>Unarchiver</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_request</key>
<dict>
<key>chown</key>
<array>
<dict>
<key>group</key>
<string>admin</string>
<key>path</key>
<string>Applications</string>
<key>user</key>
<string>root</string>
</dict>
</array>
<key>id</key>
<string>com.volitans-software.SMARTUtility</string>
<key>options</key>
<string>purge_ds_store</string>
<key>pkgname</key>
<string>%NAME%</string>
<key>version</key>
<string>%version%</string>
</dict>
</dict>
<key>Processor</key>
<string>PkgCreator</string>
<string>AppPkgCreator</string>
</dict>
</array>
</dict>
Expand Down