The json.Unmarshal function was not properly resetting the Stats struct fields between iterations in the loop. This caused incorrect values to be retained from previous iterations, leading to unexpected behavior.
This commit fixes the issue by zero the struct in each loop iteration, ensures that each unmarshaling operation starts with a clean struct, preventing value carryover.
* Partial amendment
* Update install-agent.sh
* Update install-agent.sh
Fix if is_alpine function with user creation and permission issues
* Update install-agent.sh
Adding an Uninstallation Process to Alpine
Using deluser instead of userdel in Alpine
* New translations en.po (Russian)
* New translations en.po (Turkish)
* New translations en.po (Ukrainian)
* New translations en.po (Czech)
* New translations en.po (French)
* New translations en.po (Spanish)
* New translations en.po (Arabic)
* New translations en.po (German)
* New translations en.po (Italian)
* New translations en.po (Japanese)
* New translations en.po (Korean)
* New translations en.po (Dutch)
* New translations en.po (Polish)
* New translations en.po (Portuguese)
* New translations en.po (Chinese Simplified)
* New translations en.po (Vietnamese)
* New translations en.po (Croatian)
* New translations en.po (Chinese Traditional, Hong Kong)
* New translations en.po (Persian)
- Add toggle button to switch between table and grid layouts
- Implement card-based grid view with system metrics
- Add sort dropdown menu for grid view
- Display system status, metrics with icons and labels
- Improve handling of long system names
- Maintain consistent sorting and filtering between views
- Persist view preference in localStorage
- Add `-c` flag to use GitHub mirror (ghp.ci) for mainland China users
- Implement checksum verification for downloaded files
- Add progress bar for file downloads
This change improves installation reliability and user experience,
especially for users in regions (China mainland etc.) with limited GitHub access.