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 <tobiasmarkus1@tobiass-mbp.fritz.box>
Fri, 24 Jan 2014 21:56:54 +0000 (22:56 +0100)
CMakeLists.txt
tools/darwin/receipt [new file with mode: 0644]

index ef54955..036c83e 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.