-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c29c23
commit 812b298
Showing
10 changed files
with
877 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?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>NSServices</key> | ||
<array> | ||
<dict> | ||
<key>NSBackgroundColorName</key> | ||
<string>background</string> | ||
<key>NSBackgroundSystemColorName</key> | ||
<string>blackColor</string> | ||
<key>NSIconName</key> | ||
<string>workflowCustomImageTemplate</string> | ||
<key>NSMenuItem</key> | ||
<dict> | ||
<key>default</key> | ||
<string>PNG to ICNS</string> | ||
</dict> | ||
<key>NSMessage</key> | ||
<string>runWorkflowAsService</string> | ||
<key>NSRequiredContext</key> | ||
<dict> | ||
<key>NSApplicationIdentifier</key> | ||
<string>com.apple.finder</string> | ||
</dict> | ||
<key>NSSendFileTypes</key> | ||
<array> | ||
<string>public.image</string> | ||
</array> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22.8 KB
PNG to ICNS.workflow/Contents/Resources/workflowCustomImageTemplate.tiff
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,271 @@ | ||
<?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>AMApplicationBuild</key> | ||
<string>521.1</string> | ||
<key>AMApplicationVersion</key> | ||
<string>2.10</string> | ||
<key>AMDocumentVersion</key> | ||
<string>2</string> | ||
<key>actions</key> | ||
<array> | ||
<dict> | ||
<key>action</key> | ||
<dict> | ||
<key>AMAccepts</key> | ||
<dict> | ||
<key>Container</key> | ||
<string>List</string> | ||
<key>Optional</key> | ||
<true/> | ||
<key>Types</key> | ||
<array> | ||
<string>com.apple.cocoa.string</string> | ||
</array> | ||
</dict> | ||
<key>AMActionVersion</key> | ||
<string>2.0.3</string> | ||
<key>AMApplication</key> | ||
<array> | ||
<string>Automator</string> | ||
</array> | ||
<key>AMParameterProperties</key> | ||
<dict> | ||
<key>COMMAND_STRING</key> | ||
<dict/> | ||
<key>CheckedForUserDefaultShell</key> | ||
<dict/> | ||
<key>inputMethod</key> | ||
<dict/> | ||
<key>shell</key> | ||
<dict/> | ||
<key>source</key> | ||
<dict/> | ||
</dict> | ||
<key>AMProvides</key> | ||
<dict> | ||
<key>Container</key> | ||
<string>List</string> | ||
<key>Types</key> | ||
<array> | ||
<string>com.apple.cocoa.string</string> | ||
</array> | ||
</dict> | ||
<key>ActionBundlePath</key> | ||
<string>/System/Library/Automator/Run Shell Script.action</string> | ||
<key>ActionName</key> | ||
<string>Esegui script shell</string> | ||
<key>ActionParameters</key> | ||
<dict> | ||
<key>COMMAND_STRING</key> | ||
<string> | ||
#!/bin/bash | ||
for file in "$@"; do | ||
name="${file%.*}" | ||
iconset="$name.iconset" | ||
mkdir -p "$iconset" | ||
|
||
for res in 512 256 128 32 16; do | ||
x2=$((res * 2)) | ||
sips -z $x2 $x2 "$file" --out "$iconset/icon_${res}x${res}@2x.png" | ||
sips -z $res $res "$file" --out "$iconset/icon_${res}x${res}.png" | ||
done | ||
|
||
iconutil -c icns "$iconset" | ||
rm -rf "$iconset" | ||
done | ||
</string> | ||
<key>CheckedForUserDefaultShell</key> | ||
<true/> | ||
<key>inputMethod</key> | ||
<integer>1</integer> | ||
<key>shell</key> | ||
<string>/bin/bash</string> | ||
<key>source</key> | ||
<string></string> | ||
</dict> | ||
<key>BundleIdentifier</key> | ||
<string>com.apple.RunShellScript</string> | ||
<key>CFBundleVersion</key> | ||
<string>2.0.3</string> | ||
<key>CanShowSelectedItemsWhenRun</key> | ||
<false/> | ||
<key>CanShowWhenRun</key> | ||
<true/> | ||
<key>Category</key> | ||
<array> | ||
<string>AMCategoryUtilities</string> | ||
</array> | ||
<key>Class Name</key> | ||
<string>RunShellScriptAction</string> | ||
<key>InputUUID</key> | ||
<string>631CA9F9-B94B-4701-88B2-5AA51CD576B9</string> | ||
<key>Keywords</key> | ||
<array> | ||
<string>Shell</string> | ||
<string>Script</string> | ||
<string>Comando</string> | ||
<string>Esegui</string> | ||
<string>Unix</string> | ||
</array> | ||
<key>OutputUUID</key> | ||
<string>40493CE6-B968-4AC3-A346-FA277982AEEB</string> | ||
<key>UUID</key> | ||
<string>A33A3E91-9EAE-4D67-9B39-FB16BE8F1F57</string> | ||
<key>UnlocalizedApplications</key> | ||
<array> | ||
<string>Automator</string> | ||
</array> | ||
<key>arguments</key> | ||
<dict> | ||
<key>0</key> | ||
<dict> | ||
<key>default value</key> | ||
<integer>0</integer> | ||
<key>name</key> | ||
<string>inputMethod</string> | ||
<key>required</key> | ||
<string>0</string> | ||
<key>type</key> | ||
<string>0</string> | ||
<key>uuid</key> | ||
<string>0</string> | ||
</dict> | ||
<key>1</key> | ||
<dict> | ||
<key>default value</key> | ||
<false/> | ||
<key>name</key> | ||
<string>CheckedForUserDefaultShell</string> | ||
<key>required</key> | ||
<string>0</string> | ||
<key>type</key> | ||
<string>0</string> | ||
<key>uuid</key> | ||
<string>1</string> | ||
</dict> | ||
<key>2</key> | ||
<dict> | ||
<key>default value</key> | ||
<string></string> | ||
<key>name</key> | ||
<string>source</string> | ||
<key>required</key> | ||
<string>0</string> | ||
<key>type</key> | ||
<string>0</string> | ||
<key>uuid</key> | ||
<string>2</string> | ||
</dict> | ||
<key>3</key> | ||
<dict> | ||
<key>default value</key> | ||
<string></string> | ||
<key>name</key> | ||
<string>COMMAND_STRING</string> | ||
<key>required</key> | ||
<string>0</string> | ||
<key>type</key> | ||
<string>0</string> | ||
<key>uuid</key> | ||
<string>3</string> | ||
</dict> | ||
<key>4</key> | ||
<dict> | ||
<key>default value</key> | ||
<string>/bin/sh</string> | ||
<key>name</key> | ||
<string>shell</string> | ||
<key>required</key> | ||
<string>0</string> | ||
<key>type</key> | ||
<string>0</string> | ||
<key>uuid</key> | ||
<string>4</string> | ||
</dict> | ||
</dict> | ||
<key>isViewVisible</key> | ||
<integer>1</integer> | ||
<key>location</key> | ||
<string>526.250000:620.000000</string> | ||
<key>nibPath</key> | ||
<string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string> | ||
</dict> | ||
<key>isViewVisible</key> | ||
<integer>1</integer> | ||
</dict> | ||
</array> | ||
<key>connectors</key> | ||
<dict/> | ||
<key>workflowMetaData</key> | ||
<dict> | ||
<key>applicationBundleID</key> | ||
<string>com.apple.finder</string> | ||
<key>applicationBundleIDsByPath</key> | ||
<dict> | ||
<key>/System/Library/CoreServices/Finder.app</key> | ||
<string>com.apple.finder</string> | ||
</dict> | ||
<key>applicationPath</key> | ||
<string>/System/Library/CoreServices/Finder.app</string> | ||
<key>applicationPaths</key> | ||
<array> | ||
<string>/System/Library/CoreServices/Finder.app</string> | ||
</array> | ||
<key>backgroundColorName</key> | ||
<string>blackColor</string> | ||
<key>customImageFileData</key> | ||
<data> | ||
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAD+ElEQVRogc2a | ||
S6hWVRiGn+90NJWokOw2iAaFh8CkklSKILqYdBlJEGo1qQZNFRw0bVAURJeJ | ||
RVbQxQKLGhiFJkhesiIjoygpgrS0QkmPei4+DfY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ABsjYrRcEBHjwDZ1B3ASWJIXDeXpdU3EJ8GpZ6HRvPs8 | ||
Uqgf6lqzqXOsVH/YbOrc26D76MQY6IADRSzN669oKK4KkmKhqpd9y/L0jgTu | ||
uqh+kRcRY1TbOV2bpwtrSUrDsdRo9LcKdW5Xn+c/R7qJg6kO7KxQ52zgUXqz | ||
29uVamRDV2TUx8tJDkTER8A7XRKTilciYkdyK3WW+qKT9xG9xLj6rHlYXvuv | ||
NOp8YAW9/WvO58DbEbF/ovAfxoNo0J5vN7cAAAAASUVORK5CYII= | ||
</data> | ||
<key>customImageFileExtension</key> | ||
<string>png</string> | ||
<key>inputTypeIdentifier</key> | ||
<string>com.apple.Automator.fileSystemObject.image</string> | ||
<key>outputTypeIdentifier</key> | ||
<string>com.apple.Automator.nothing</string> | ||
<key>presentationMode</key> | ||
<integer>15</integer> | ||
<key>processesInput</key> | ||
<false/> | ||
<key>serviceApplicationBundleID</key> | ||
<string>com.apple.finder</string> | ||
<key>serviceApplicationPath</key> | ||
<string>/System/Library/CoreServices/Finder.app</string> | ||
<key>serviceInputTypeIdentifier</key> | ||
<string>com.apple.Automator.fileSystemObject.image</string> | ||
<key>serviceOutputTypeIdentifier</key> | ||
<string>com.apple.Automator.nothing</string> | ||
<key>serviceProcessesInput</key> | ||
<false/> | ||
<key>useAutomaticInputType</key> | ||
<false/> | ||
<key>workflowTypeIdentifier</key> | ||
<string>com.apple.Automator.servicesMenu</string> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?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>NSServices</key> | ||
<array> | ||
<dict> | ||
<key>NSBackgroundColorName</key> | ||
<string>background</string> | ||
<key>NSBackgroundSystemColorName</key> | ||
<string>blackColor</string> | ||
<key>NSIconName</key> | ||
<string>workflowCustomImageTemplate</string> | ||
<key>NSMenuItem</key> | ||
<dict> | ||
<key>default</key> | ||
<string>PNG to Iconset</string> | ||
</dict> | ||
<key>NSMessage</key> | ||
<string>runWorkflowAsService</string> | ||
<key>NSRequiredContext</key> | ||
<dict> | ||
<key>NSApplicationIdentifier</key> | ||
<string>com.apple.finder</string> | ||
</dict> | ||
<key>NSSendFileTypes</key> | ||
<array> | ||
<string>public.image</string> | ||
</array> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22.8 KB
PNG to Iconset.workflow/Contents/Resources/workflowCustomImageTemplate.tiff
Binary file not shown.
Oops, something went wrong.