pierr3 / VectorAudio

An Audio-For-VATSIM ATC Client for macOS, Linux and Windows
GNU General Public License v3.0
47 stars 11 forks source link

Prompted for admin permission when launching on Windows #107

Closed CruelHazbeast closed 5 months ago

CruelHazbeast commented 5 months ago

Everytime I launch the app I'm prompted to grant admin access:

  1. Is this expected?
  2. Can this be avoided? e.g. is there some access that VA is requesting that can be turned off via settings?

For the usual reasons I run under a standard user account so would prefer to avoid granting admin access where possible.

pierr3 commented 5 months ago

Hi, this is necessary because VectorAudio needs to monitor your keyboard even when the window is not in focus, otherwise it would not be able to pickup global push to talk. This cannot be done without admin permissions.

pierr3 commented 5 months ago

If you do not want to grant VA admin permissions, you can use a joystick button for push to talk, which does not require admin permissions for global PTT, you can then simply hit no when prompted for elevation.

CruelHazbeast commented 5 months ago

Thanks for the answer but Vpilot uses the same function as it also constantly monitors the keyboard but I only need to give it admin permissions once and it hasn't ever asked for it again. Surely there is a way to code around the permission being asked everytime?

pierr3 commented 5 months ago

Yes, that is something I should fix in the future.

On Wed, 27 Mar 2024 at 13:58, CruelHazbeast @.***> wrote:

Thanks for the answer but Vpilot uses the same function as it also constantly monitors the keyboard but I only need to give it admin permissions once and it hasn't ever asked for it again. Surely there is a way to code around the permission being asked everytime?

— Reply to this email directly, view it on GitHub https://github.com/pierr3/VectorAudio/issues/107#issuecomment-2023438910, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN7UK3Q5PDNRNCWYTGHG3LY2L3FFAVCNFSM6AAAAABFJUY5VWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRTGQZTQOJRGA . You are receiving this because you commented.Message ID: @.***>

CruelHazbeast commented 5 months ago

Cool, thank you very much!