feat: add build date

This commit is contained in:
Kingtous committed 2022-11-17 16:36:26 +08:00
1 parent 2158f928e6
commit d24e7b25ab
4 files changed
+16 -4

No files matched your search

+4
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);