You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect the issue is related to the requirement for administrative privileges when installing or uninstalling in service mode. I was able to successfully uninstall by adding sudo before running scoop uninstall clash-verge-rev.
If you don't have sudo available, you can first install gsudo by running scoop install gsudo.
I suspect the issue is related to the requirement for administrative privileges when installing or uninstalling in service mode. I was able to successfully uninstall by adding sudo before running scoop uninstall clash-verge-rev.
If you don't have sudo available, you can first install gsudo by running scoop install gsudo.
Hope this helps!
Thank you for your help.
I found it was caused by a clash-verge-services.exe being occupied, which was registered as system services to gain high privileges. Meanwhile, the service would not stop after the main process terminated. I referred to the old version of the JSON file and found the old one invokes uninstall-service.exe, so I tried executing sudo ./resources/uninstall-services.exe first and then running scoop uninstall clash-verge-rev manually. It works.
According to the above information, I added the uninstall script snippet back and tested it on my machine. You can see my changes in the second commit of #14494.
In addition, I didn't add the installation script of the service, which will be installed when the program starts first time automatically now. So I think it's meaningless to install the service with the script.
I guess that maybe you forget to update, this problem only occurred on the latest version. Unfortunately, add prefix sudo simply when uninstall does not work 😢.
Prerequisites
Package Name
clash-verge-rev
Expected/Current Behaviour
Fail to uninstall clash-verge-rev by executing
scoop uninstall clash-verge-rev
forclash-verge-service.exe
is running.This program was registered as system service, it will be startup followed by system.
Steps to Reproduce
Possible Solution
Run
resources/uninstall-service.exe
first would solve it.Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response
The text was updated successfully, but these errors were encountered: