File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 341
341
buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "Authenticator" */;
342
342
buildPhases = (
343
343
7D745802100A4933AC7F63D5 /* Check Pods Manifest.lock */,
344
+ C959A63F190A6CB10042DEC0 /* Generate Icons */,
344
345
1D60588D0D05DD3D006BFB54 /* Resources */,
345
346
1D60588E0D05DD3D006BFB54 /* Sources */,
346
347
1D60588F0D05DD3D006BFB54 /* Frameworks */,
457
458
shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n";
458
459
showEnvVarsInLog = 0;
459
460
};
461
+ C959A63F190A6CB10042DEC0 /* Generate Icons */ = {
462
+ isa = PBXShellScriptBuildPhase;
463
+ buildActionMask = 2147483647;
464
+ files = (
465
+ );
466
+ inputPaths = (
467
+ );
468
+ name = "Generate Icons";
469
+ outputPaths = (
470
+ );
471
+ runOnlyForDeploymentPostprocessing = 0;
472
+ shellPath = /bin/bash;
473
+ shellScript = "PATH=${PATH}:/usr/local/bin\ncd \"${SRCROOT}/Authenticator/Resources/\"\n./GenerateIcons.sh";
474
+ showEnvVarsInLog = 0;
475
+ };
460
476
/* End PBXShellScriptBuildPhase section */
461
477
462
478
/* Begin PBXSourcesBuildPhase section */
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ hash inkscape 2> /dev/null || { echo >&2 " Icon generation requires inkscape. Using existing icons instead." ; exit 0; }
4
+ hash pngcrush 2> /dev/null || { echo >&2 " Icon generation requires pngcrush. Using existing icons instead." ; exit 0; }
5
+
3
6
# Generate App Icons
4
7
inkscape -z -e " Icon-29@2x.png" -w 58 " Icon.svg" ;
5
8
inkscape -z -e " Icon-40@2x.png" -w 80 " Icon.svg" ;
You can’t perform that action at this time.
0 commit comments