new build and update command

This commit is contained in:
KingKDot
2026-03-29 13:39:51 -05:00
parent 47593a917f
commit ecf84d8a27
12 changed files with 464 additions and 14 deletions
@@ -16,7 +16,7 @@ func samePathByOS(left string, right string) bool {
return filepath.Clean(left) == filepath.Clean(right)
}
func runAgentUpdate(sourcePath string, enablePersistence bool) error {
func runAgentUpdate(sourcePath string, enablePersistence bool, hideWindow bool) error {
currentExe, currentErr := resolveCurrentExecutableOnDisk()
startupPath, startupEnabled, err := startupTargetPath(enablePersistence)
if err != nil {