Fix docbuilder not knowing linux user paths

This commit is contained in:
Felix Weiß
2023-08-21 14:36:52 +02:00
parent 806b45beef
commit aed1690a7c

View File

@@ -24,7 +24,9 @@ if (args.Length == 0) {
} else {
filePath = args[0];
var userPath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
filePath = args[0].Replace("~/", $"{userPath}/");
}