From d391e596e33cad6de4d4e091345257e3909635b9 Mon Sep 17 00:00:00 2001 From: DustInDark Date: Sat, 25 Jun 2022 21:09:35 +0900 Subject: [PATCH] changed relative path to execution dir path in contributors option --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index caa7c387..10715426 100644 --- a/src/main.rs +++ b/src/main.rs @@ -453,7 +453,7 @@ impl App { } fn print_contributors(&self) { - match fs::read_to_string("./contributors.txt") { + match fs::read_to_string(CURRENT_EXE_PATH.join("contributors.txt")) { Ok(contents) => { write_color_buffer(&BufferWriter::stdout(ColorChoice::Always), None, &contents) .ok();