mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-09-19 14:53:49 +00:00
Package selection and downloading functional
This commit is contained in:
@@ -8,6 +8,9 @@ module W3DHubLauncher
|
||||
# TODO:
|
||||
# fail_fast
|
||||
|
||||
# get case-insensitive file list
|
||||
index_installation_directory
|
||||
|
||||
# fetch manifests for currently installed version
|
||||
# AND the target version so we can detect files that need to be removed
|
||||
# between versions
|
||||
@@ -16,13 +19,23 @@ module W3DHubLauncher
|
||||
# build list of packages we'll need to download
|
||||
build_package_list
|
||||
|
||||
# verify our pre-existing files for presence and validity
|
||||
verify_files
|
||||
|
||||
# download required packages to get missing or out of date files
|
||||
fetch_packages
|
||||
|
||||
# unpack packages and patch files to reach target version
|
||||
install_packages
|
||||
|
||||
# delete files that are no longer part of the application (and whose presence my break the application)
|
||||
remove_deleted_files
|
||||
|
||||
# tell the application to behive
|
||||
write_paths_ini
|
||||
|
||||
# store application install state and notify frontend/ui that the application is ready for use!
|
||||
mark_application_installed
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user