fix: check for administrator rights first and retry locked copies in install.ps1 [skip ci]
install.ps1 now stops right away with a clear message when it does not run as administrator or SYSTEM, instead of failing with "access denied" while copying. Copying retries while agent.exe is briefly locked, e.g. by an antivirus scan. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
8b36e5ed18
commit
8c3f297b2c
4 files changed
+23
-7
No files matched your search
+1
-1
@@ -4,7 +4,7 @@ namespace NetBoxWindowsAgent;
|
||||
|
||||
internal static class AgentInfo
|
||||
{
|
||||
public const string Version = "0.2.0";
|
||||
public const string Version = "0.2.1";
|
||||
public const int Protocol = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user