• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

あれとこれのコンバータ


Commit MetaInfo

Revision658bdffc4d203b1b3f3c68292026fdda5b6eb980 (tree)
Time2011-11-29 20:56:50
Authormasakih <masakih@user...>
Commitermasakih

Log Message

データベースファイルの場所を間違えていたので修正。

Change Summary

Incremental Difference

--- a/BathyScapheDataConverter/BSCoreDataManager.m
+++ b/BathyScapheDataConverter/BSCoreDataManager.m
@@ -124,7 +124,8 @@ static BSCoreDataManager *defaultManager;
124124 //
125125 // return url;
126126
127- return [BSDCAppDelegate bathyScapheSupportFolderURL];
127+ NSString *fpath = [BSDCAppDelegate bathyScapheSupportFolderPath];
128+ return [NSURL fileURLWithPath:[fpath stringByAppendingPathComponent:@"BathyScaphe.qdb"]];
128129 }
129130
130131 /**
--- a/DatabaseManager.m
+++ b/DatabaseManager.m
@@ -235,7 +235,8 @@ abort:
235235 {
236236 // return [[CMRFileManager defaultManager] supportFilepathWithName : @"BathyScaphe.db"
237237 // resolvingFileRef : nil];
238- return [BSDCAppDelegate bathyScapheSupportFolderPath];
238+ NSString *fpath = [BSDCAppDelegate bathyScapheSupportFolderPath];
239+ return [fpath stringByAppendingPathComponent:@"BathyScaphe.db.new"];
239240 }
240241
241242 - (SQLiteDB *) databaseForCurrentThread