new xcode, dont add miredo anymore

This commit is contained in:
Jan Gerber 2015-11-29 14:30:30 +01:00
parent 532a3b219f
commit 4cd6820eb1
4 changed files with 7 additions and 3 deletions

View file

@ -72,6 +72,7 @@
[window setContentView: webView]; [window setContentView: webView];
} }
- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender {
NSString *basePath = [@"~/Library/Application Support/Open Media Library" stringByExpandingTildeInPath]; NSString *basePath = [@"~/Library/Application Support/Open Media Library" stringByExpandingTildeInPath];
NSTask *task = [[NSTask alloc] init]; NSTask *task = [[NSTask alloc] init];

View file

@ -7,7 +7,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string> <string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>com.openmedialibrary.oml</string> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>

View file

@ -166,7 +166,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = { 29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject; isa = PBXProject;
attributes = { attributes = {
LastUpgradeCheck = 0640; LastUpgradeCheck = 0710;
}; };
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Open Media Library" */; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Open Media Library" */;
compatibilityVersion = "Xcode 3.2"; compatibilityVersion = "Xcode 3.2";
@ -253,6 +253,7 @@
INFOPLIST_FILE = "Open Media Library-Info.plist"; INFOPLIST_FILE = "Open Media Library-Info.plist";
INSTALL_PATH = "$(HOME)/Applications"; INSTALL_PATH = "$(HOME)/Applications";
MACOSX_DEPLOYMENT_TARGET = 10.6; MACOSX_DEPLOYMENT_TARGET = 10.6;
PRODUCT_BUNDLE_IDENTIFIER = com.openmedialibrary.oml;
PRODUCT_NAME = "Open Media Library"; PRODUCT_NAME = "Open Media Library";
SDKROOT = macosx; SDKROOT = macosx;
}; };
@ -271,6 +272,7 @@
INFOPLIST_FILE = "Open Media Library-Info.plist"; INFOPLIST_FILE = "Open Media Library-Info.plist";
INSTALL_PATH = "$(HOME)/Applications"; INSTALL_PATH = "$(HOME)/Applications";
MACOSX_DEPLOYMENT_TARGET = 10.6; MACOSX_DEPLOYMENT_TARGET = 10.6;
PRODUCT_BUNDLE_IDENTIFIER = com.openmedialibrary.oml;
PRODUCT_NAME = "Open Media Library"; PRODUCT_NAME = "Open Media Library";
SDKROOT = macosx; SDKROOT = macosx;
}; };
@ -279,6 +281,7 @@
C01FCF4F08A954540054247B /* Debug */ = { C01FCF4F08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;

View file

@ -4,7 +4,7 @@ tmp="${name}.tmp.dmg"
dmg="${name}.dmg" dmg="${name}.dmg"
tmpdir=`mktemp -d -t oml` tmpdir=`mktemp -d -t oml`
cp -r "${name}.app" "$tmpdir/" cp -r "${name}.app" "$tmpdir/"
cp -r miredo*.pkg "$tmpdir/" #cp -r miredo*.pkg "$tmpdir/"
ln -s /Applications "$tmpdir/Applications" ln -s /Applications "$tmpdir/Applications"
rm -rf "$dmg" "$tmp" rm -rf "$dmg" "$tmp"
hdiutil create -srcfolder "$tmpdir" -volname "$name" -format UDZO "$tmp" hdiutil create -srcfolder "$tmpdir" -volname "$name" -format UDZO "$tmp"