1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 03:40:16 +02:00

Use update.php instead of sparkle.xml to save stats

This commit is contained in:
Leo Franchi
2011-08-14 22:39:48 -04:00
parent cd07bd4f71
commit e159698bfd
2 changed files with 10 additions and 9 deletions

View File

@@ -25,7 +25,7 @@
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>10.5.0</string> <string>10.5.0</string>
<key>SUFeedURL</key> <key>SUFeedURL</key>
<string>http://download.tomahawk-player.org/sparkle</string> <string>http://download.tomahawk-player.org/sparkle/update.php</string>
<key>SUPublicDSAKeyFile</key> <key>SUPublicDSAKeyFile</key>
<string>sparkle_pub.pem</string> <string>sparkle_pub.pem</string>
<key>SUEnableSystemProfiling</key> <key>SUEnableSystemProfiling</key>
@@ -59,6 +59,6 @@
<key>CFBundleTypeRole</key> <key>CFBundleTypeRole</key>
<string>Viewer</string> <string>Viewer</string>
</dict> </dict>
</array> </array>
</dict> </dict>
</plist> </plist>

View File

@@ -41,13 +41,14 @@ if (APPLE)
edited_plist # save in this variable edited_plist # save in this variable
"${plist}" # from the contents of this var "${plist}" # from the contents of this var
) )
IF( NOT CMAKE_BUILD_TYPE STREQUAL "Release" ) # Disable non-release sparkle for now. We haven't used it yet.
STRING( REPLACE "http://download.tomahawk-player.org/sparkle" # match this # IF( NOT CMAKE_BUILD_TYPE STREQUAL "Release" )
"http://download.tomahawk-player.org/sparkle-debug" #replace with debug url # STRING( REPLACE "http://download.tomahawk-player.org/sparkle" # match this
edited_plist # save in this variable # "http://download.tomahawk-player.org/sparkle-debug" #replace with debug url
"${edited_plist}" # from the contents of this var # edited_plist # save in this variable
) # "${edited_plist}" # from the contents of this var
ENDIF() # )
# ENDIF()
FILE( WRITE ${CMAKE_BINARY_DIR}/Info.plist "${edited_plist}" ) FILE( WRITE ${CMAKE_BINARY_DIR}/Info.plist "${edited_plist}" )
FILE(COPY ${CMAKE_SOURCE_DIR}/admin/mac/sparkle_pub.pem FILE(COPY ${CMAKE_SOURCE_DIR}/admin/mac/sparkle_pub.pem