Sfoglia il codice sorgente

OS X: Document how to disable the auto updater

Markus Goetz 12 anni fa
parent
commit
372f8b3426

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()