A couple formating changes to Task

This commit is contained in:
2026-10-16 07:52:37 -05:00
parent 92b2e34f25
commit 13a782aabf

View File

@@ -5,8 +5,7 @@ module W3DHubLauncher
IndexedFile = Data.define(:type, :path) IndexedFile = Data.define(:type, :path)
attr_reader :request_id, :application, :channel, :installed_version, :target_version attr_reader :request_id, :application, :channel, :installed_version, :target_version, :status
attr_reader :status
def initialize(request_id:, application:, channel:, installed_version:, target_version:) def initialize(request_id:, application:, channel:, installed_version:, target_version:)
@request_id = request_id @request_id = request_id
@@ -467,11 +466,11 @@ module W3DHubLauncher
create_directory(File.dirname(file_path)) create_directory(File.dirname(file_path))
result = if manifest_package.download_url result = if manifest_package.download_url
@worker.w3dhub_api.download(manifest_package.download_url, path: file_path) @worker.w3dhub_api.download(manifest_package.download_url, path: file_path)
else else
# TODO xD # TODO xD
@worker.w3dhub_api.fetch_package("TODO") @worker.w3dhub_api.fetch_package("TODO")
end end
if result.okay? if result.okay?
return Worker::Api::LegacyManifest.new(package_cache_path(manifest_package)) return Worker::Api::LegacyManifest.new(package_cache_path(manifest_package))