add execution policy for python script

This commit is contained in:
James Seibel
2025-03-25 07:15:52 -05:00
parent c13bc0cd6e
commit 890e802de4
+1 -1
View File
@@ -31,7 +31,7 @@ class NativeRelocator
String os = System.getProperty("os.name").toLowerCase(); String os = System.getProperty("os.name").toLowerCase();
if (os.contains("win")) if (os.contains("win"))
{ {
processBuilder.command("powershell", "./prepare.ps1"); processBuilder.command("powershell", "-ExecutionPolicy", "Bypass", "./prepare.ps1");
} }
else if (os.contains("nix") || os.contains("nux") || os.contains("mac")) else if (os.contains("nix") || os.contains("nux") || os.contains("mac"))
{ {