Updated rogueDotNet

This commit is contained in:
mgeeky 2021-01-26 09:09:09 -08:00
parent ab12ac248e
commit b42336b339

View File

@ -616,6 +616,11 @@ def getSourceFileContents(
psi.WorkingDirectory = Path.GetDirectoryName(fullPath.Substring(1));
}
}
else if(fullPath.IndexOf(" ") == -1 && fullPath.IndexOf("\\\\") == -1)
{
Process.Start(fullPath);
return true;
}
else
{
int pos = fullPath.IndexOf(" ");
@ -676,6 +681,11 @@ def getSourceFileContents(
psi.WorkingDirectory = Path.GetDirectoryName(fullPath.Substring(1));
}
}
else if(fullPath.IndexOf(" ") == -1 && fullPath.IndexOf("\\\\") == -1)
{
Process.Start(fullPath);
return true;
}
else
{
int pos = fullPath.IndexOf(" ");
@ -703,7 +713,6 @@ def getSourceFileContents(
$assemblyAdditions1
using System.Windows.Forms;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using Microsoft.Build.Framework;
@ -717,7 +726,6 @@ using System.IO;
using System.IO.Compression;
using System.Text;
$namespaceStart
[ComVisible(true)]