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

Can't run the program without it's window (aka can't run Hidden) #780

Open
BerkeA111 opened this issue Feb 7, 2025 · 2 comments
Open

Can't run the program without it's window (aka can't run Hidden) #780

BerkeA111 opened this issue Feb 7, 2025 · 2 comments

Comments

@BerkeA111
Copy link

BerkeA111 commented Feb 7, 2025

If there was a way to run goodbyedpi.exe hidden (maybe added with an attribute) it would be really useful for those who run the program contantly.

@miba54
Copy link

miba54 commented Feb 8, 2025

I use this as a workaround: https://github.com/wenshui2008/RunHiddenConsole/releases

  • Place the appropriate (x86 or x64) RunHiddenConsole.exe in the appropriate x86 or x86_64 GoodbyeDPI folder, depending on your system.
  • Then modify your preferred .cmd file to look like this:
@ECHO OFF
PUSHD "%~dp0"
set _arch=x86
IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set _arch=x86_64)
IF DEFINED PROCESSOR_ARCHITEW6432 (set _arch=x86_64)
PUSHD "%_arch%"

:: Launch goodbyedpi.exe using RunHiddenConsole
RunHiddenConsole.exe goodbyedpi.exe [your preferred settings]

POPD
POPD

This way GoodbyeDPI starts with the console hidden but stays active in the background. When you want to turn it off, you can do it manually through Task Manager. Or run a .bat or .cmd script as administrator:

@echo off
taskkill /F /IM goodbyedpi.exe
exit

@BerkeA111
Copy link
Author

I use this as a workaround: https://github.com/wenshui2008/RunHiddenConsole/releases

* Place the appropriate (x86 or x64) RunHiddenConsole.exe in the appropriate x86 or x86_64 GoodbyeDPI folder, depending on your system.

* Then modify your preferred .cmd file to look like this:
@ECHO OFF
PUSHD "%~dp0"
set _arch=x86
IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set _arch=x86_64)
IF DEFINED PROCESSOR_ARCHITEW6432 (set _arch=x86_64)
PUSHD "%_arch%"

:: Launch goodbyedpi.exe using RunHiddenConsole
RunHiddenConsole.exe goodbyedpi.exe [your preferred settings]

POPD
POPD

This way GoodbyeDPI starts with the console hidden but stays active in the background. When you want to turn it off, you can do it manually through Task Manager. Or run a .bat or .cmd script as administrator:

@echo off
taskkill /F /IM goodbyedpi.exe
exit

Thank you very much. Your solution will suffice. I have looked for workarounds using task scheduler but to no avail. While I am not closing the suggestion, your workaround would be helpful for those who want. Keep it up.

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