mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Redid file checking to use the provided chunked checksums, added (broken) support for partial package downloads (resumed package fails verification), misc. supporting changes.
This commit is contained in:
@@ -164,8 +164,8 @@ class W3DHub
|
||||
# client requests package: data={"category":"games","name":"ECW_Asteroids.zip","subcategory":"ecw","version":"1.0.0.0"}
|
||||
#
|
||||
# server responds with download bytes, probably supports chunked download and resume
|
||||
def self.package(category, subcategory, name, version, &block)
|
||||
Cache.fetch_package(W3DHUB_API_CONNECTION, category, subcategory, name, version, block)
|
||||
def self.package(package, &block)
|
||||
Cache.fetch_package(package, block)
|
||||
end
|
||||
|
||||
#! === Server List API === !#
|
||||
|
||||
Reference in New Issue
Block a user