mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Turn cli file path into absolute path before passing it on
This commit is contained in:
@@ -104,7 +104,7 @@ namespace hex::plugin::builtin {
|
||||
std::fs::path path;
|
||||
|
||||
try {
|
||||
path = std::fs::weakly_canonical(arg);
|
||||
path = std::fs::absolute(arg);
|
||||
} catch(std::fs::filesystem_error &) {
|
||||
path = arg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user