oml works on 10.9, add makefile to build without ui
This commit is contained in:
parent
d4f26df196
commit
7ac08f45ad
5 changed files with 18 additions and 19 deletions
10
Makefile
Normal file
10
Makefile
Normal file
|
@ -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
|
||||||
|
|
|
@ -206,7 +206,7 @@
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
MACOSX_DEPLOYMENT_TARGET = 10.9;
|
||||||
MTL_ENABLE_DEBUG_INFO = YES;
|
MTL_ENABLE_DEBUG_INFO = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
|
@ -244,7 +244,7 @@
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
MACOSX_DEPLOYMENT_TARGET = 10.9;
|
||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.6</string>
|
<string>0.7</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
|
@ -37,13 +37,13 @@
|
||||||
<key>DTSDKBuild</key>
|
<key>DTSDKBuild</key>
|
||||||
<string>15C43</string>
|
<string>15C43</string>
|
||||||
<key>DTSDKName</key>
|
<key>DTSDKName</key>
|
||||||
<string>macosx10.11</string>
|
<string>macosx10.9</string>
|
||||||
<key>DTXcode</key>
|
<key>DTXcode</key>
|
||||||
<string>0720</string>
|
<string>0720</string>
|
||||||
<key>DTXcodeBuild</key>
|
<key>DTXcodeBuild</key>
|
||||||
<string>7C68</string>
|
<string>7C68</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>10.11</string>
|
<string>10.9</string>
|
||||||
<key>LSUIElement</key>
|
<key>LSUIElement</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
|
5
README
5
README
|
@ -1,4 +1,5 @@
|
||||||
Open Media Library OS X Launcher and Installer
|
Open Media Library OS X Launcher and Installer
|
||||||
|
|
||||||
- Build in XCode and export "Open Media Library.app" into this folder
|
To build current version run:
|
||||||
- Create .dmg file running ./build.sh
|
|
||||||
|
make "Open Media Library.dmg"
|
||||||
|
|
12
build.sh
12
build.sh
|
@ -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"
|
|
Loading…
Reference in a new issue