Skip to content
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

Remove prompts and run it silently? #9

Closed
xHyperVoid opened this issue Jan 10, 2022 · 3 comments
Closed

Remove prompts and run it silently? #9

xHyperVoid opened this issue Jan 10, 2022 · 3 comments

Comments

@xHyperVoid
Copy link

Hi, I just started out in github im wondering if you can add a feature so we can run them in silent without the prompts?
maybe add start arguments as "-s" to run it silently?
or have it run in cmd as like "disable-defender.exe -silent"

@xHyperVoid
Copy link
Author

I figured it out now by just checking the .sln project
What i did is basically
Deleted Gui
Changed main.cpp line 55 to system("exit")

Building it runs the .exe without prompts

@pgkt04
Copy link
Owner

pgkt04 commented Jan 10, 2022

this works but its better to just comment out the system call so the program returns properly

@pgkt04
Copy link
Owner

pgkt04 commented Jan 25, 2022

Added in the latest release. Launch disable-defender.exe with -s argument from an elevated shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants