소스 검색

OS X: Document how to disable the auto updater

Markus Goetz 12 년 전
부모
커밋
372f8b3426
3개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. BIN
      admin/osx/deny_autoupdate_com.owncloud.desktopclient.plist
  2. 4 1
      doc/autoupdate.rst
  3. 2 0
      src/CMakeLists.txt

BIN
admin/osx/deny_autoupdate_com.owncloud.desktopclient.plist


+ 4 - 1
doc/autoupdate.rst

@@ -63,9 +63,12 @@ There are two alternative approaches:
 Mac OS X
 ^^^^^^^^
 
-You can disable the update check via the system-wide ``.plist`` file located
+You can disable the update check via a system-wide ``.plist`` file located
 at ``/Library/Preferences/com.owncloud.desktopclient.plist``. Add a new root
 level item of type bool and the name ``skipUpdateCheck`` and set it to ``true``.
+You can also just copy the file
+``owncloud.app/Contents/Resources/deny_autoupdate_com.owncloud.desktopclient.plist```
+to ``/Library/Preferences/com.owncloud.desktopclient.plist``.
 
 Linux
 ^^^^^

+ 2 - 0
src/CMakeLists.txt

@@ -448,6 +448,8 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mirall)
 if(BUILD_OWNCLOUD_OSX_BUNDLE)
     install(TARGETS ${owncloudcmd_NAME} DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/MacOS)
     if (SPARKLE_FOUND)
+        install(FILES ${CMAKE_SOURCE_DIR}/admin/osx/deny_autoupdate_com.owncloud.desktopclient.plist
+                DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/Resources)
         install(FILES ${CMAKE_SOURCE_DIR}/admin/osx/sparkle/dsa_pub.pem
                 DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/Resources)
     endif()