Add fleet groups, agent screenshots, deploy guards, and Crucible polish.
This commit is contained in:
@@ -5,7 +5,6 @@ package deploy
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func SetProcessPriority(priority string) error {
|
||||
@@ -23,7 +22,6 @@ func SetProcessPriority(priority string) error {
|
||||
class = "High"
|
||||
}
|
||||
pid := os.Getpid()
|
||||
cmd := exec.Command("powershell", "-NoProfile", "-Command",
|
||||
return HiddenRun("powershell", "-NoProfile", "-WindowStyle", "Hidden", "-Command",
|
||||
fmt.Sprintf("(Get-Process -Id %d).PriorityClass = '%s'", pid, class))
|
||||
return cmd.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user