mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Fix docbuilder not knowing linux user paths
This commit is contained in:
@@ -24,7 +24,9 @@ if (args.Length == 0) {
|
||||
|
||||
} else {
|
||||
|
||||
filePath = args[0];
|
||||
var userPath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
|
||||
|
||||
filePath = args[0].Replace("~/", $"{userPath}/");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user