mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-03-25 23:30:41 +01:00
Add missing selfDeleteExe() call and supportedSelfDelete check that were present in the original initUninstallCmd function. This ensures the uninstall command properly handles self-deletion of the binary when cleanup is enabled. The original logic included: - selfDeleteExe() call for self-deletion - supportedSelfDelete check for platform-specific behavior - Proper error handling and logging This completes the porting of all functionality from the original initUninstallCmd to the new ServiceCommand.Uninstall method.