-
Notifications
You must be signed in to change notification settings - Fork 7
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
0202f2f
commit bb42be9
Showing
3 changed files
with
36 additions
and
18 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
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
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 |
---|---|---|
|
@@ -12,13 +12,18 @@ | |
alias animera="$BUILT_PRODUCTS_DIR/$EXECUTABLE_PATH" | ||
BACKGROUND="$PROJECT_DIR/Resources/Animations/dmg background.animera" | ||
|
||
animera export --name=background --scale=4 "$BACKGROUND" | ||
animera export --name=background@2x --scale=8 "$BACKGROUND" | ||
animera export << EOF | ||
{ | ||
"animations": [ | ||
{ "file": "$BACKGROUND", "name": "background", "scale": 4 }, | ||
{ "file": "$BACKGROUND", "name": "background@2x", "scale": 8 } | ||
] | ||
} | ||
EOF | ||
|
||
envsubst < "$PROJECT_DIR/scripts/dmg.json" > expanded.json | ||
appdmg expanded.json "$PROJECT_DIR/Animera-$MARKETING_VERSION.dmg" | ||
appdmg expanded.json "$PROJECT_DIR/Animera-$MARKETING_VERSION-macos.dmg" | ||
|
||
rm expanded.json | ||
rm background.png | ||
rm [email protected] | ||
rm VolumeIcon.icns |