diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c14c84b --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +NAME=Open Media Library + +Open Media Library.dmg: + rm -rf "${NAME}.dmg" dist + xcodebuild -project "Open Media Library.xcodeproj" -scheme "Open Media Library" DSTROOT="./dist" archive + ln -s /Applications "dist/Applications/Applications" + hdiutil create -srcfolder "dist/Applications" -volname "${NAME}" -format UDZO "dist/${NAME}.dmg" + hdiutil convert -format UDZO -imagekey zlib-level=9 -o "${NAME}.dmg" "dist/${NAME}.dmg" + rm -rf dist + diff --git a/Open Media Library.xcodeproj/project.pbxproj b/Open Media Library.xcodeproj/project.pbxproj index 4813133..8c5466a 100644 --- a/Open Media Library.xcodeproj/project.pbxproj +++ b/Open Media Library.xcodeproj/project.pbxproj @@ -206,7 +206,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.9; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -244,7 +244,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.9; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; }; diff --git a/Open Media Library/Info.plist b/Open Media Library/Info.plist index d835658..b0803f0 100644 --- a/Open Media Library/Info.plist +++ b/Open Media Library/Info.plist @@ -19,7 +19,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.6 + 0.7 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -37,13 +37,13 @@ DTSDKBuild 15C43 DTSDKName - macosx10.11 + macosx10.9 DTXcode 0720 DTXcodeBuild 7C68 LSMinimumSystemVersion - 10.11 + 10.9 LSUIElement NSHumanReadableCopyright diff --git a/README b/README index e03aea4..d530108 100644 --- a/README +++ b/README @@ -1,4 +1,5 @@ Open Media Library OS X Launcher and Installer -- Build in XCode and export "Open Media Library.app" into this folder -- Create .dmg file running ./build.sh +To build current version run: + +make "Open Media Library.dmg" diff --git a/build.sh b/build.sh deleted file mode 100755 index c69f944..0000000 --- a/build.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -name="Open Media Library" -tmp="${name}.tmp.dmg" -dmg="${name}.dmg" -tmpdir=`mktemp -d -t oml` -cp -r "${name}.app" "$tmpdir/" -#cp -r miredo*.pkg "$tmpdir/" -ln -s /Applications "$tmpdir/Applications" -rm -rf "$dmg" "$tmp" -hdiutil create -srcfolder "$tmpdir" -volname "$name" -format UDZO "$tmp" -hdiutil convert -format UDZO -imagekey zlib-level=9 -o "$dmg" "$tmp" -rm -rf $tmpdir "$tmp"