Allow OS X users to remove SuperTux using Launchpad
authorSuperMAT <supermat@supermat.local>
Sat, 23 Nov 2013 14:11:07 +0000 (15:11 +0100)
committerTobias Markus <tobbi@mozilla-uk.org>
Sat, 23 Nov 2013 14:12:44 +0000 (15:12 +0100)
CMakeLists.txt
tools/darwin/receipt [new file with mode: 0644]

index c443eea..9cb93b4 100644 (file)
@@ -376,6 +376,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
   SET(INSTALL_SUBDIR_DOC "SuperTux.app/Contents/Resources" CACHE STRING "Installation subdir for docs")
 
   INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tools/darwin/info.plist DESTINATION "SuperTux.app/Contents/")
+  INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tools/darwin/receipt DESTINATION "SuperTux.app/Contents/_MASReceipt/")
 
   INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.png ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.icns DESTINATION "SuperTux.app/Contents/Resources/")
 
diff --git a/tools/darwin/receipt b/tools/darwin/receipt
new file mode 100644 (file)
index 0000000..1eb8188
--- /dev/null
@@ -0,0 +1 @@
+SuperTux Receipt.