-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathGetAdobeIcons.sh
executable file
·241 lines (186 loc) · 6.9 KB
/
GetAdobeIcons.sh
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
#!/bin/bash
[ -z "$1" ] && echo "This script requires a path to output the app icons in PNG format."
# Use /usr/bin/sips to copy the app icon out of the App bundle for each of the Adobe CC products
# and convert into png format
# Acrobat DC
APP="/Applications/Adobe Acrobat DC/Adobe Acrobat.app"
APP_ICON="ACP_App.icns"
OUTPUT_PNG="AdobeAcrobatDC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# After Effects CC 2015
APP="/Applications/Adobe After Effects CC 2015/Adobe After Effects CC 2015.app"
APP_ICON="App.icns"
OUTPUT_PNG="AdobeAfterEffectsCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Animate CC
APP="/Applications/Adobe Animate CC 2015/Adobe Animate CC 2015.app"
APP_ICON="appIcon.icns"
OUTPUT_PNG="AdobeAnimateCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Audition CC
APP="/Applications/Adobe Audition CC 2015/Adobe Audition CC 2015.app"
APP_ICON="appIcon.icns"
OUTPUT_PNG="AdobeAuditionCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Bridge CC
APP="/Applications/Adobe Bridge CC/Adobe Bridge CC.app"
APP_ICON="bridge.icns"
OUTPUT_PNG="AdobeBridgeCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Character Animator
APP="/Applications/Adobe Character Animator (Preview)/Adobe Character Animator (Preview).app"
APP_ICON="appIcon.icns"
OUTPUT_PNG="AdobeCharacterAnimator.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Dreamweaver CC
APP="/Applications/Adobe Dreamweaver CC 2015/Adobe Dreamweaver CC 2015.app"
APP_ICON="Dreamweaver.icns"
OUTPUT_PNG="AdobeDreamweaverCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Edge Animate
APP="/Applications/Adobe Edge Animate CC 2015/Adobe Edge Animate CC 2015.app"
APP_ICON="appIcon.icns"
OUTPUT_PNG="AdobeEdgeAnimateCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Edge Code
APP="/Applications/Adobe Edge Code CC.app"
APP_ICON="appshell.icns"
OUTPUT_PNG="AdobeEdgeCodeCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Edge Reflow
APP="/Applications/Adobe Edge Reflow CC.app"
APP_ICON="reflow_appicon_hidpi.icns"
OUTPUT_PNG="AdobeEdgeReflowCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Extendscript Toolkit CC
APP="/Applications/Adobe ExtendScript Toolkit CC/ExtendScript Toolkit.app"
APP_ICON="ExtendScriptToolkit.icns"
OUTPUT_PNG="AdobeExtendscriptToolkitCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Extension Manager CC
APP="/Applications/Adobe Extension Manager CC/Adobe Extension Manager CC.app"
APP_ICON="ExtensionManager.icns"
OUTPUT_PNG="AdobeExtensionManagerCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Fireworks CS6
APP="/Applications/Adobe Fireworks CS6/Adobe Fireworks CS6.app"
APP_ICON="fireworks.icns"
OUTPUT_PNG="AdobeFireworksCS6.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Flash Builder 4.7 Premium
APP="/Applications/Adobe Flash Builder 4.7/Adobe Flash Builder 4.7.app"
APP_ICON="fb_app.icns"
OUTPUT_PNG="AdobeFlashBuilderPremium.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Flash CC
APP="/Applications/Adobe Flash CC 2015/Adobe Flash CC 2015.app"
APP_ICON="appIcon.icns"
OUTPUT_PNG="AdobeFlashCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Illustrator CC
APP="/Applications/Adobe Illustrator CC 2015/Adobe Illustrator.app"
APP_ICON="[email protected]"
OUTPUT_PNG="AdobeIllustratorCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# InCopy CC
APP="/Applications/Adobe InCopy CC 2015/Adobe InCopy CC 2015.app"
APP_ICON="[email protected]"
OUTPUT_PNG="AdobeInCopyCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# InDesign CC
APP="/Applications/Adobe InDesign CC 2015/Adobe InDesign CC 2015.app"
APP_ICON="[email protected]"
OUTPUT_PNG="AdobeInDesignCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Media Encoder CC
APP="/Applications/Adobe Media Encoder CC 2015/Adobe Media Encoder CC 2015.app"
APP_ICON="ame_appicon.icns"
OUTPUT_PNG="AdobeMediaEncoderCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Muse CC
APP="/Applications/Adobe Muse CC 2015/Adobe Muse CC 2015.app"
APP_ICON="mu_appIcon.icns"
OUTPUT_PNG="AdobeMuseCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Lightroom
APP="/Applications/Adobe Lightroom/Adobe Lightroom.app"
APP_ICON="App.icns"
OUTPUT_PNG="AdobeLightroom.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Photoshop CC
APP="/Applications/Adobe Photoshop CC 2015/Adobe Photoshop CC 2015.app"
APP_ICON="PS_AppIcon.icns"
OUTPUT_PNG="AdobePhotoshopCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Prelude CC
APP="/Applications/Adobe Prelude CC 2015/Adobe Prelude CC 2015.app"
APP_ICON="[email protected]"
OUTPUT_PNG="AdobePreludeCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Premiere Pro CC
APP="/Applications/Adobe Premiere Pro CC 2015/Adobe Premiere Pro CC 2015.app"
APP_ICON="pr_app_icons.icns"
OUTPUT_PNG="AdobePremiereProCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# Scout CC
APP="/Applications/Adobe Scout CC.app"
APP_ICON="appIcon.icns"
OUTPUT_PNG="AdobeScoutCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi
# SpeedGrade CC
APP="/Applications/Adobe SpeedGrade CC 2015/Adobe SpeedGrade CC 2015.app"
APP_ICON="SpeedGrade.icns"
OUTPUT_PNG="AdobeSpeedGradeCC.png"
if [[ -d "$APP" ]]; then
/usr/bin/sips -s format png "$APP/Contents/Resources/$APP_ICON" --out "$1/$OUTPUT_PNG"
fi