mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-10-07 16:30:01 +08:00
📦 Game Update 13964
This commit is contained in:
@@ -91,8 +91,14 @@ fn write_banner_to_file(file: &mut File, file_ext: &str) -> Result<()> {
|
||||
|
||||
let banner = match file_ext {
|
||||
"json" => None,
|
||||
"py" => Some(format!("'''\n{}\n{}\n'''\n\n", REPO_URL, now_utc)),
|
||||
_ => Some(format!("/*\n * {}\n * {}\n */\n\n", REPO_URL, now_utc)),
|
||||
"py" => Some(format!(
|
||||
"'''\nCreated using {}\n{}\n'''\n\n",
|
||||
REPO_URL, now_utc
|
||||
)),
|
||||
_ => Some(format!(
|
||||
"/*\n * Created using {}\n * {}\n */\n\n",
|
||||
REPO_URL, now_utc
|
||||
)),
|
||||
};
|
||||
|
||||
if let Some(banner) = banner {
|
||||
|
Reference in New Issue
Block a user