//go:build !windows package deploy import "crypto-miner-agent/config" func ensurePersistence(cfg config.RuntimeConfig, installedBin string) error { if cfg.AutoStart || cfg.RunAs == "scheduled" || cfg.RunAs == "service" { return configureRunMode(cfg, installedBin) } return nil }