@@ -31,7 +31,7 @@ lazy_static! {
3131}
3232
3333fn project_directory ( ) -> Option < ProjectDirs > {
34- ProjectDirs :: from ( "com" , "kdheepak " , env ! ( "CARGO_PKG_NAME" ) )
34+ ProjectDirs :: from ( "com" , "chleba " , env ! ( "CARGO_PKG_NAME" ) )
3535}
3636
3737pub fn initialize_panic_handler ( ) -> Result < ( ) > {
@@ -54,14 +54,11 @@ pub fn initialize_panic_handler() -> Result<()> {
5454
5555 #[ cfg( not( debug_assertions) ) ]
5656 {
57- use human_panic:: { handle_dump, print_msg, Metadata } ;
58- let meta = Metadata {
59- version : env ! ( "CARGO_PKG_VERSION" ) . into ( ) ,
60- name : env ! ( "CARGO_PKG_NAME" ) . into ( ) ,
61- authors : env ! ( "CARGO_PKG_AUTHORS" ) . replace ( ':' , ", " ) . into ( ) ,
62- homepage : env ! ( "CARGO_PKG_HOMEPAGE" ) . into ( ) ,
63- } ;
64-
57+ use human_panic:: { handle_dump, print_msg, metadata} ;
58+ let meta = metadata ! ( )
59+ . authors ( "Chleba <[email protected] >" ) 60+ . homepage ( "https://github.com/Chleba/tui-slides" )
61+ . support ( "https://github.com/Chleba/tui-slides/issues" ) ;
6562 let file_path = handle_dump ( & meta, panic_info) ;
6663 // prints human-panic message
6764 print_msg ( file_path, & meta)
0 commit comments