Initial work on implementing tasks

This commit is contained in:
2026-09-10 21:36:43 -05:00
parent 79dfa963c2
commit 7a5667a53a
8 changed files with 163 additions and 25 deletions

View File

@@ -0,0 +1,26 @@
module W3DHubLauncher
class Task
class InstallApplication < Task
def setup
end
def execute
# TODO:
# fail_fast
# fetch manifests for currently installed version
# AND the target version so we can detect files that need to be removed
# between versions
manifests_result = fetch_manifests
abort_task!(manifests_result) unless manifests_result.okay?
package_list_result = build_package_list(manifests_result)
abort_task!(package_list_result) unless package_list_result.okay?
# remove_deleted_files
verify_files
end
end
end
end