class ThunderstorePackageDownloader::Version
- ThunderstorePackageDownloader::Version
- Reference
- Object
Defined in:
thunderstore_downloader/get_thunderstore_file_hash.crConstructors
-
.new(name : String, version_number : String, download_url : String, zipped_dir_path : String, unzipped_dir_path : String)
zipped_dir_path is the path where the zipped folder will be saved and will be utilized by wget command unzipped_dir_path is the path there the unzipped folder will be stored and will be utilized by the unzip command and get_file_hash method
Instance Method Summary
- #delete_files
- #download_command
- #download_url : String
- #download_url=(download_url : String)
- #get_file_hash_command
- #get_thunderstore_file_hash
- #mod_version
- #mod_version_unzipped
- #mod_version_zipped
- #name : String
- #name=(name : String)
- #unzip_command
- #unzipped_dir_path : String
- #unzipped_dir_path=(unzipped_dir_path : String)
- #version_number : String
- #version_number=(version_number : String)
- #zipped_dir_path : String
- #zipped_dir_path=(zipped_dir_path : String)
Constructor Detail
def self.new(name : String, version_number : String, download_url : String, zipped_dir_path : String, unzipped_dir_path : String)
#
zipped_dir_path is the path where the zipped folder will be saved and will be utilized by wget command unzipped_dir_path is the path there the unzipped folder will be stored and will be utilized by the unzip command and get_file_hash method