From 76d7e65ef0447fe421a77ed2f16c19a83afb17f6 Mon Sep 17 00:00:00 2001 From: bamse16 Date: Fri, 5 Oct 2012 08:49:47 +0000 Subject: Issue 1470: [REQ] Support for bundling default Themes Themes will be copied from Default Themes to ~/Library/Application Support/Sequel Pro/Themes, only if a theme with the same name does not exist in that folder. --- Scripts/build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Scripts') diff --git a/Scripts/build.sh b/Scripts/build.sh index 9783d9b4..bc5a9d14 100755 --- a/Scripts/build.sh +++ b/Scripts/build.sh @@ -73,6 +73,14 @@ mkdir -p "${BUILD_PRODUCT}/Contents/SharedSupport/Default Bundles" cp -R "${SRCROOT}/SharedSupport/Default Bundles" "${BUILD_PRODUCT}/Contents/SharedSupport" +# Copy all Default Themes to build product +rm -rf "${BUILD_PRODUCT}/Contents/SharedSupport/Default Themes" + +mkdir -p "${BUILD_PRODUCT}/Contents/SharedSupport/Default Themes" + +cp -R "${SRCROOT}/SharedSupport/Default Themes" "${BUILD_PRODUCT}/Contents/SharedSupport" + + # Perform distribution specific tasks if this is a 'Distribution' build if [ "$CONFIGURATION" == 'Distribution' ] then -- cgit v1.2.3