MartinEesmaa / VVCEasy

VVCEasy is that you don't have to compile or/and coding to encode VVC (known as Versatile Video Codec). Simple. Easy. Encode. Decode
https://martineesmaa.org/en/vvceasy
MIT License
145 stars 15 forks source link

Update VVCEasy.bat #4

Closed neoOpus closed 2 years ago

neoOpus commented 2 years ago

check and get the UAC for administrator privilege

MartinEesmaa commented 2 years ago

@neoOpus, thank you for making pull request. Is there any that you could do without creating new window cmd in batchfile? Because, I just don't want make new window again, when I'm running on Windows Terminal (normal without admin)

neoOpus commented 2 years ago

@neoOpus, thank you for making pull request. Is there any that you could do without creating new window cmd in batchfile? Because, I just don't want make new window again, when I'm running on Windows Terminal (normal without admin)

  • Martin Eesmaa

Nope that is not possible to my knowledge as the elevation only affects the terminal window that is nearly created by the vbs file but I will think and search maybe there is trick...

neoOpus commented 2 years ago

I found this project (https://github.com/gerardog/gsudo) and it gives the elevated privilege to the same terminal window/tab... so I think you can add it to your project if you think it fits with your requirements...

let me know if you want some help regarding this or some other stuff

MartinEesmaa commented 2 years ago

@neoOpus, okay, I guess I have no choise of creating new Windows Terminal window, it will be stuck in old cmd, but I can accept your pull request. I hope the UAC Script will help to users... :)

neoOpus commented 2 years ago

@neoOpus, okay, I guess I have no choise of creating new Windows Terminal window, it will be stuck in old cmd, but I can accept your pull request. I hope the UAC Script will help to users... :)

I send you a second reply to your question, I guess you didn't read it, it is about gsudo which can make what you wanted but it is part of another project that maybe you can include in your distribution...