Fix for character customization preview on Wine #33

Closed
man-of-eel wants to merge 2 commits from master into master
2 changed files with 3 additions and 2 deletions

View File

@ -760,6 +760,7 @@ class CharacterCustomizationShared
{ {
Process client = new Process(); Process client = new Process();
client.StartInfo.FileName = rbxexe; client.StartInfo.FileName = rbxexe;
client.StartInfo.WorkingDirectory = Path.GetDirectoryName(rbxexe);
client.StartInfo.Arguments = args; client.StartInfo.Arguments = args;
client.Start(); client.Start();
client.PriorityClass = GlobalVars.UserConfiguration.Priority; client.PriorityClass = GlobalVars.UserConfiguration.Priority;
@ -772,4 +773,4 @@ class CharacterCustomizationShared
} }
#endregion #endregion
} }
#endregion #endregion

View File

@ -2154,7 +2154,7 @@ public class GlobalFuncs
{ {
Process client = new Process(); Process client = new Process();
client.StartInfo.FileName = rbxexe; client.StartInfo.FileName = rbxexe;
client.StartInfo.WorkingDirectory = Path.GetDirectoryName(rbxexe); client.StartInfo.WorkingDirectory = Path.GetDirectoryName(rbxexe);
client.StartInfo.Arguments = args; client.StartInfo.Arguments = args;
if (e != null) if (e != null)
{ {