71 / scoop-better-shimexe

A better shim.exe file for Scoop.
MIT License
72 stars 29 forks source link

Remove shim from memory if GUI is detected #5

Closed trajano closed 4 years ago

trajano commented 4 years ago

First good work on #4

image

In details it sounds like you just hid the process and I can tell that from procexp. Can you just terminate the process?

71 commented 4 years ago

It's unfortunately the only way to do it. I tried various other hacks that didn't involve just hiding the window automatically but none worked.

An executable either acts:

Since most scoop apps are command line utilities (at least in my case), the second solution wasn't doable. We could have two different .exes, but that would require scoop to track whether a shim points to a command line app or a Windows app.