feat: add build date

This commit is contained in:
Kingtous
2022-11-17 16:36:07 +08:00
parent 2158f928e6
commit d24e7b25ab
4 changed files with 16 additions and 4 deletions

View File

@@ -1025,6 +1025,10 @@ pub fn main_get_icon() -> String {
return String::new();
}
pub fn main_get_build_date() -> String {
crate::BUILD_DATE.to_string()
}
#[no_mangle]
unsafe extern "C" fn translate(name: *const c_char, locale: *const c_char) -> *const c_char {
let name = CStr::from_ptr(name);