Skip to content

Commit

Permalink
Fix some directory strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Happyrobot33 committed May 30, 2024
1 parent a728cf1 commit 40ec319
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CodeCoverage/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ public static void Main(string[] args)
#endregion

//load assemblys
assemblys.Add(workingDirectory + @"\Packages\com.vrchat.base\Runtime\VRCSDK\Plugins\VRCSDKBase.dll");
assemblys.Add(workingDirectory + @"\Packages\com.vrchat.base\Runtime\VRCSDK\Plugins\VRCSDKBase-Editor.dll");
assemblys.Add(workingDirectory + @"\Packages\com.vrchat.worlds\Runtime\VRCSDK\Plugins\VRCSDK3.dll");
assemblys.Add(workingDirectory + @"\Packages\com.vrchat.worlds\Runtime\VRCSDK\Plugins\VRCSDK3-Editor.dll");
assemblys.Add(workingDirectory + "/Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/VRCSDKBase.dll");
assemblys.Add(workingDirectory + "/Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/VRCSDKBase-Editor.dll");
assemblys.Add(workingDirectory + "/Packages/com.vrchat.worlds/Runtime/VRCSDK/Plugins/VRCSDK3.dll");
assemblys.Add(workingDirectory + "/Packages/com.vrchat.worlds/Runtime/VRCSDK/Plugins/VRCSDK3-Editor.dll");
//assemblys.Add(workingDirectory + @"\Packages\com.vrchat.worlds\Runtime\Udon\External\VRC.Udon.Common.dll");

//generate the source code for documentation purposes
Expand Down Expand Up @@ -415,7 +415,7 @@ private static void GenerateSourceCode()
Console.WriteLine("Generating source code...");

//clear the folder of previous C# files
string decompiledSourcePath = workingDirectory + @"\DecompiledSource";
string decompiledSourcePath = workingDirectory + "/DecompiledSource";
if (Directory.Exists(decompiledSourcePath))
{
Directory.Delete(decompiledSourcePath, true);
Expand All @@ -433,7 +433,7 @@ private static void GenerateSourceCode()
string code = decompiler.DecompileWholeModuleAsString();

//save the code to a folder
string path = workingDirectory + @"\DecompiledSource\" + Path.GetFileNameWithoutExtension(assembly) + ".cs";
string path = workingDirectory + "/DecompiledSource/" + Path.GetFileNameWithoutExtension(assembly) + ".cs";

//make sure folder exists
Directory.CreateDirectory(Path.GetDirectoryName(path));
Expand All @@ -442,7 +442,7 @@ private static void GenerateSourceCode()
}

//make a gitignore file
string gitignore = workingDirectory + @"\DecompiledSource\.gitignore";
string gitignore = workingDirectory + "/DecompiledSource/.gitignore";
File.WriteAllText(gitignore, "*");

Console.WriteLine("Generated source code");
Expand Down

0 comments on commit 40ec319

Please sign in to comment.