feat: udpates

This commit is contained in:
2023-09-07 23:13:28 +08:00
parent 3d40730cb5
commit 17fed2d195
3 changed files with 3 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ pub fn read_number(hint: &str, from: usize, to: usize) -> usize {
}
}
pub fn get_user_agent() -> String {
pub fn _get_user_agent() -> String {
format!("TinyEncrypt-rs v{}@{}", env!("CARGO_PKG_VERSION"),
if cfg!(target_os = "macos") {
"MacOS"