-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows UAC Prompt #3
Comments
This is good to know, thank you. I will change it. |
Published v1.2. Though I now realise .NET 4.x is what comes with most Windows versions. Ah well. |
Since it is a pretty basic console app, you can write it in .NET 8 and publish it with the AOT compiler by adding this setting to your project file: You can then publish for different environments using the publish command: This would allow the program to run on any computers without the .NET or .NET Framework runtime installed. |
Thank you -- really useful info. C# is my go-to language for hacking together quick scripts at home, but not what I code in professionally and it seems I am vastly lacking knowledge here. |
When patching the file the binary now require administrator privileges to run.
The reason for this is because Windows will automatically ask for admin privileges for any files that contains the words
patch
,update
,installer
, etc.. (I'm not joking).It might be a good idea to just come up with a different name for simplicity for inexperience and ignorant users.
The text was updated successfully, but these errors were encountered: