chiark / gitweb /
Merge branch 'SteamEngine' of https://github.com/daid/Cura into SteamEngine
[cura.git] / package.sh
index fb4ceaf1981bef032aa1ac3516e4def42c2ba05b..2ee7449a5b30f7b7c69c27d47402c99c81852add 100755 (executable)
@@ -17,7 +17,7 @@ BUILD_TARGET=${1:-all}
 ##Do we need to create the final archive
 ARCHIVE_FOR_DISTRIBUTION=1
 ##Which version name are we appending to the final archive
-BUILD_NAME=13.06.2
+BUILD_NAME=13.06.3
 TARGET_DIR=Cura-${BUILD_NAME}-${BUILD_TARGET}
 
 ##Which versions of external programs to use
@@ -105,7 +105,10 @@ if [ "$BUILD_TARGET" = "darwin" ]; then
 
     #Add cura version file (should read the version from the bundle with pyobjc, but will figure that out later)
     echo $BUILD_NAME > scripts/darwin/dist/Cura.app/Contents/Resources/version
-    cp CuraEngine scripts/darwin/dist/Cura.app/Contents/Resources/CuraEngine
+       rm -rf CuraEngine
+       git clone https://github.com/Ultimaker/CuraEngine
+       make -C CuraEngine
+       cp CuraEngine/CuraEngine scripts/darwin/dist/Cura.app/Contents/Resources/CuraEngine
 
        cd scripts/darwin