log4j-finder icon indicating copy to clipboard operation
log4j-finder copied to clipboard

One-Click Windows Version (cmd stays open after execution)

Open auslaender6 opened this issue 3 years ago • 3 comments

Hi, would it be possible to let the cmd stay open if users just double-click the exe? It will be usefull for non IT-people just to click, instead of open a cmd and start the *.exe form there :).

Like here: https://github.com/vercel/pkg/issues/644

We would link this (fantastic tool) and gave that link to our end users for home use. Most of them are non IT-people.

cheers Niko

auslaender6 avatar Dec 21 '21 12:12 auslaender6

And also the executable should be signed then. I do not want to tell users to ignore warnings. (Especially non-it people)

PaulHoving avatar Dec 21 '21 12:12 PaulHoving

A simple batch script should do the trick: start-finder.bat

log4j-finder.exe
pause

Otherwise you can add these lines to the .py and build the exe yourself.

if __name__ == "__main__":
    ...
    if sys.platform == "win32":
        os.system("pause")

sibalzer avatar Dec 21 '21 14:12 sibalzer

And also the executable should be signed then. I do not want to tell users to ignore warnings. (Especially non-it people)

we have now signed the v1.2.0 windows executable, attached to the v1.20 release page:

https://github.com/fox-it/log4j-finder/releases/download/v1.2.0/log4j-finder-windows-signed-v1.2.0.zip https://github.com/fox-it/log4j-finder/releases/download/v1.2.0/log4j-finder-signed.exe

yunzheng avatar Dec 22 '21 12:12 yunzheng