Привет
Я не могу установить расширение для safari из командной строки (OS X 10.5.8 Safari 5+)
В моем сценарии postinstall для PackageMaker.app сначала я копирую свое расширение в "/ tmp / my-product /"
а затем я запускаю этот $ sudo /Applications/Safari.app/Contents/MacOS/safari /tmp/my-product/my-extension.safariextz
Это временно помещает расширение в сафари, но при закрытии сафари расширение исчезает.
Console.app показывает это в system.log
*12/07/10 12:45:22.158: 9387 [WARNING] SQL Error: SQLITE_CANTOPEN[14.0]: Database file not found
12/07/10 12:45:22.163: 9387 [WARNING] ***** SQL error opening database: SQLITE_CANTOPEN[14.0]: Database file not found
12/07/10 12:45:22.219: 9387 [WARNING] SQL Error: SQLITE_CANTOPEN[14.0]: Database file not found
12/07/10 12:45:22.219: 9387 [WARNING] SQLite::Exception "SQLITE_CANTOPEN[14.0]: Database file not found" caught in static void PubSub::ClientCore::openClientSession()
12/07/10 12:45:22.219: 9387 [WARNING] std::exception "St9exception" caught in PSClient* +[PSClient clientForBundleIdentifier:](objc_object*, objc_selector*, NSString*)
12/07/10 12:45:22.220: 9387 [WARNING] SQL Error: SQLITE_CANTOPEN[14.0]: Database file not found
12/07/10 12:45:22.220: 9387 [WARNING] ***** SQL error opening database: SQLITE_CANTOPEN[14.0]: Database file not found
12/07/10 12:45:22.276: 9387 [WARNING] SQL Error: SQLITE_CANTOPEN[14.0]: Database file not found
12/07/10 12:45:22.276: 9387 [WARNING] SQLite::Exception "SQLITE_CANTOPEN[14.0]: Database file not found" caught in static void PubSub::ClientCore::openClientSession()
12/07/10 12:45:22.276: 9387 [WARNING] std::exception "St9exception" caught in PSClient* +[PSClient clientForBundleIdentifier:](objc_object*, objc_selector*, NSString*)
2010-12-07 12:45:22.276 Safari[9387:a0b] WARNING: BookmarkedFeedsManager couldn't get PSClient!
12/07/10 12:45:22.278: 9387 [WARNING] SQL Error: SQLITE_CANTOPEN[14.0]: Database file not found
12/07/10 12:45:22.278: 9387 [WARNING] ***** SQL error opening database: SQLITE_CANTOPEN[14.0]: Database file not found
12/07/10 12:45:22.334: 9387 [WARNING] SQL Error: SQLITE_CANTOPEN[14.0]: Database file not found
12/07/10 12:45:22.334: 9387 [WARNING] SQLite::Exception "SQLITE_CANTOPEN[14.0]: Database file not found" caught in static void PubSub::ClientCore::openClientSession()
12/07/10 12:45:22.334: 9387 [WARNING] std::exception "St9exception" caught in PSClient* +[PSClient clientForBundleIdentifier:](objc_object*, objc_selector*, NSString*)*
Это проблема с разрешением?
Я застрял здесь: (
Пожалуйста, предложите.
Заранее спасибо
Привет
Parimal Das