mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-06 00:07:48 +00:00
.hashes/.sha-sums, .iw4xrevision -> awcache.json
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use colored::*;
|
||||
use std::path::Path;
|
||||
use std::{collections::HashMap, path::Path};
|
||||
|
||||
#[derive(serde::Deserialize, serde::Serialize, Clone)]
|
||||
pub struct CdnFile {
|
||||
@@ -74,3 +74,9 @@ impl PrintPrefix {
|
||||
format!("[{}]{:width$}", self.text, "", width = self.padding).to_string()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(serde::Deserialize, serde::Serialize, Default)]
|
||||
pub struct Cache {
|
||||
pub iw4x_revision: String,
|
||||
pub hashes: HashMap<String, String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user