changed relative path to execution dir path in contributors option

This commit is contained in:
DustInDark
2022-06-25 21:09:35 +09:00
parent 2777435461
commit d391e596e3

View File

@@ -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();