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:
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user