Skip to content

Commit

Permalink
Launcher arg bug fix. We add quotations around the directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sk1ffy authored and Sk1ffy committed Jul 11, 2024
1 parent 465024e commit 0a13e5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RLOrbital/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,9 @@ private bool ImportGame()
{
//Sugar is a staticName Epic uses for RocketLeague. This will work Universally.
string directory = System.IO.File.ReadAllText("rl.txt");
string outputSTD = Legendary(string.Format("import Sugar {0}", directory));
// string outputSTD = Legendary(string.Format("import Sugar {0}", directory));
string outputSTD = Legendary(string.Format("import Sugar \"{0}\"", directory));


if (outputSTD.Contains("Game is already installed"))
{
Expand Down Expand Up @@ -700,6 +702,7 @@ private void button8_Click(object sender, EventArgs e)
MessageBox.Show("Please sign into an account before trying to select a directory.");
return;
}

if (System.IO.File.Exists("rl.txt") && new FileInfo("rl.txt").Length != 0)
{
DialogResult response = MessageBox.Show("Would you like to use previously found Rocket League Directory",
Expand Down

0 comments on commit 0a13e5e

Please sign in to comment.