From 3f8ca14073081964aece6d4d1a699f2518c98004 Mon Sep 17 00:00:00 2001 From: arabian Date: Sat, 10 Jan 2026 19:55:55 +0300 Subject: [PATCH] fix: calling filesystem::absolute on empty string --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 3f5b633..ef01040 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -54,7 +54,7 @@ bool in_array(const string &value, const vector &array); int main(int argc, char *argv[]) { - path input_path = ""; + path input_path = current_path(); path output_path = "mod.msp"; path manifest_path = "manifest"; @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) if (check_pathes(input_path, output_path, manifest_path) == 1) return 0; - path current_dir = absolute(""); + path current_dir = current_path(); path temp_dir = current_dir / "temp/"; if (exists(temp_dir))