Console logging improvements, implement Equals/GetHashCode for QueryInfo

This commit is contained in:
n00mkrad
2025-12-20 23:13:26 +01:00
parent 4c0202edb2
commit 8a0e181f8d
10 changed files with 109 additions and 89 deletions

View File

@@ -18,13 +18,13 @@ namespace Flowframes.IO
public static bool SymlinksAllowed()
{
string origFile = Paths.GetExe();
string linkPath = Paths.GetExe() + "lnktest";
bool success = CreateSymbolicLink(linkPath, origFile, Flag.Unprivileged);
string testLinkPath = Paths.GetExe() + "lnktest";
bool success = CreateSymbolicLink(testLinkPath, origFile, Flag.Unprivileged);
if (!success)
return false;
File.Delete(linkPath);
File.Delete(testLinkPath);
return true;
}