mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-09-01 19:51:28 +02:00
Console logging improvements, implement Equals/GetHashCode for QueryInfo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user