Modified `Program.cs` to check the `IsAdminModeEnabled` configuration at startup. If enabled and the application is not running as administrator, it restarts itself with the `runas` verb to request elevation. Also properly handles command-line arguments, including those with spaces.
This fixes the issue where toggling 'Run as Administrator' in settings and restarting did not result in elevated privileges.