We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c3d917 commit d640d8dCopy full SHA for d640d8d
source/Reloaded.Mod.Launcher.Lib/Utility/TryUnprotectGamePassGame.cs
@@ -46,7 +46,7 @@ public static bool TryIt(string exePath)
46
File.WriteAllLines(scriptPath, exeFiles, Encoding.UTF8);
47
48
// Run the script
49
- var command = $"Invoke-CommandInDesktopPackage -PackageFamilyName \"{packageFamilyName}\" -AppId \"{appId}\" -Command \"{compressedLoaderPath}\" -Args '\"{scriptPath}\"'";
+ var command = $"-NoProfile -ExecutionPolicy ByPass -Command \"Invoke-CommandInDesktopPackage -PackageFamilyName '{packageFamilyName}' -AppId '{appId}' -Command '{compressedLoaderPath}' -Args '{scriptPath}'\"";
50
var processStartInfo = new ProcessStartInfo
51
{
52
FileName = @"powershell",
0 commit comments