From c2a4da43c3e94170dbffc48e10b839a0037162f3 Mon Sep 17 00:00:00 2001 From: rogerman Date: Sat, 21 Dec 2013 08:32:53 +0000 Subject: [PATCH] Cocoa Port: - Update all info .plist files to v0.9.11 for future SVN builds. --- desmume/src/cocoa/FileTypeInfo.plist | 89 +++++++++++++++++++ desmume/src/cocoa/Info (Debug).plist | 4 +- desmume/src/cocoa/Info (Legacy Debug).plist | 4 +- desmume/src/cocoa/Info (Legacy).plist | 4 +- desmume/src/cocoa/Info.plist | 4 +- desmume/src/cocoa/cocoa_file.mm | 8 ++ .../openemu/Info (OpenEmu Plug-in).plist | 4 +- 7 files changed, 107 insertions(+), 10 deletions(-) diff --git a/desmume/src/cocoa/FileTypeInfo.plist b/desmume/src/cocoa/FileTypeInfo.plist index 7f845e262..20eb56307 100644 --- a/desmume/src/cocoa/FileTypeInfo.plist +++ b/desmume/src/cocoa/FileTypeInfo.plist @@ -9,6 +9,7 @@ 0.9.8 0.9.9 0.9.10 + 0.9.11 PortStrings @@ -35,6 +36,11 @@ Cocoa OpenEmu + 0.9.11 + + Cocoa + OpenEmu + DefaultPaths @@ -123,6 +129,27 @@ ${OPENEMU} + 0.9.11 + + Cocoa + + ROM Save + ${APPSUPPORT} + Cheat + ${APPSUPPORT} + Firmware Configuration + ${APPSUPPORT} + Save State + ${APPSUPPORT} + + OpenEmu + + ROM Save + ${OPENEMU} + Save State + ${OPENEMU} + + DirectoryNames @@ -256,6 +283,32 @@ SoundSamples + 0.9.11 + + Cocoa + + ROM Save + Battery + Cheat + Cheats + Firmware Configuration + Battery + Lua Script + Lua + Video + AviFiles + R4 Format + R4format + ROM + Roms + Save State + States + Screenshot + Screenshots + Sound Sample + SoundSamples + + FileExtensionByTypes @@ -349,6 +402,24 @@ nds + 0.9.11 + + Cocoa + + ROM Save + dsv + Cheat + dct + Firmware Configuration + dfc + Lua Script + lua + Save State + dst + ROM + nds + + FileTypeByExtensions @@ -442,6 +513,24 @@ ROM + 0.9.11 + + Cocoa + + dsv + ROM Save + dct + Cheat + dfc + Firmware Configuration + lua + Lua Script + dst + Save State + nds + ROM + + diff --git a/desmume/src/cocoa/Info (Debug).plist b/desmume/src/cocoa/Info (Debug).plist index d697ab4f0..396af9e83 100644 --- a/desmume/src/cocoa/Info (Debug).plist +++ b/desmume/src/cocoa/Info (Debug).plist @@ -240,11 +240,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - v0.9.10 (Debug) + v0.9.11 (Debug) CFBundleSignature DSmM CFBundleVersion - 0.9.10 + 0.9.11 LSApplicationCategoryType public.app-category.entertainment LSMinimumSystemVersion diff --git a/desmume/src/cocoa/Info (Legacy Debug).plist b/desmume/src/cocoa/Info (Legacy Debug).plist index 371734355..f3df901cd 100644 --- a/desmume/src/cocoa/Info (Legacy Debug).plist +++ b/desmume/src/cocoa/Info (Legacy Debug).plist @@ -240,11 +240,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - v0.9.10 (Debug) + v0.9.11 (Debug) CFBundleSignature DSmM CFBundleVersion - 0.9.10 + 0.9.11 LSApplicationCategoryType public.app-category.entertainment LSMinimumSystemVersion diff --git a/desmume/src/cocoa/Info (Legacy).plist b/desmume/src/cocoa/Info (Legacy).plist index 8ab2dc1b8..a430d417a 100644 --- a/desmume/src/cocoa/Info (Legacy).plist +++ b/desmume/src/cocoa/Info (Legacy).plist @@ -240,11 +240,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - v0.9.10 + v0.9.11 CFBundleSignature DSmM CFBundleVersion - 0.9.10 + 0.9.11 LSApplicationCategoryType public.app-category.entertainment LSMinimumSystemVersion diff --git a/desmume/src/cocoa/Info.plist b/desmume/src/cocoa/Info.plist index 241776900..9e6e564a4 100644 --- a/desmume/src/cocoa/Info.plist +++ b/desmume/src/cocoa/Info.plist @@ -240,11 +240,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - v0.9.10 + v0.9.11 CFBundleSignature DSmM CFBundleVersion - 0.9.10 + 0.9.11 LSApplicationCategoryType public.app-category.entertainment LSMinimumSystemVersion diff --git a/desmume/src/cocoa/cocoa_file.mm b/desmume/src/cocoa/cocoa_file.mm index cc1bce6ff..36471a327 100644 --- a/desmume/src/cocoa/cocoa_file.mm +++ b/desmume/src/cocoa/cocoa_file.mm @@ -687,6 +687,14 @@ static NSMutableDictionary *_gURLDictionary = nil; portStr = @"Cocoa"; } + versionURL = [CocoaDSFile userAppSupportURL:nil version:@"0.9.10"]; + versionPath = [versionURL path]; + if (versionPath != nil && [[[filePath stringByDeletingLastPathComponent] stringByDeletingLastPathComponent] isEqualToString:versionPath]) + { + versionStr = @"0.9.10"; + portStr = @"Cocoa"; + } + fileVersion = [[versionStr stringByAppendingString:@" "] stringByAppendingString:portStr]; return fileVersion; diff --git a/desmume/src/cocoa/openemu/Info (OpenEmu Plug-in).plist b/desmume/src/cocoa/openemu/Info (OpenEmu Plug-in).plist index f92008b68..8c7a6cbca 100644 --- a/desmume/src/cocoa/openemu/Info (OpenEmu Plug-in).plist +++ b/desmume/src/cocoa/openemu/Info (OpenEmu Plug-in).plist @@ -15,11 +15,11 @@ CFBundlePackageType BNDL CFBundleShortVersionString - v0.9.10 (OpenEmu Plug-in) + v0.9.11 (OpenEmu Plug-in) CFBundleSignature ???? CFBundleVersion - 0.9.10 + 0.9.11 CSResourcesFileMapped yes NSHumanReadableCopyright