-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Improve Adobe Creative Cloud uninstall #68039
Improve Adobe Creative Cloud uninstall #68039
Conversation
ad86287
to
2f5a407
Compare
I don't understand why this is failing when I have |
You can run it with |
2f5a407
to
24ae866
Compare
38d79a6
to
9574ca4
Compare
That’s Adobe for you 🙄
If you're talking about this line:
@vitorgalvao What do you mean? I don’t see how this is possible given that you can’t use
So is |
I hear you!
Yes, you’re right.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why aren’t you using
uninstall launchctl
@vitorgalvao Because for the processes I haven’t already included in that stanza, it doesn’t work…
> brew cask uninstall adobe-creative-cloud
# …
> launchctl print system | grep -i adobe
"com.adobe.GC.Scheduler-1.0" => false
"com.adobe.fpsaud" => true
and
> launchctl print gui/$UID | grep -i adobe
0 - com.adobe.CCXProcess.61720
0 - com.adobe.CCXProcess.61380
0 - com.adobe.CCXProcess.61636
14864 - com.adobe.CCXProcess.61716
0 - com.adobe.CCXProcess.61532
"com.adobe.accmac.explinder.ACCFinderInnerExtensionHost2.14846" = {
"com.adobe.accmac.explinder.ACCFinderInnerExtensionHost2.14845" = {
0xcbe3b U A com.adobe.accmac.explinder.ACCFinderInnerExtensionHost2.14845
0xed07b U A com.adobe.accmac.explinder.ACCFinderInnerExtensionHost2.14846
"com.adobe.AdobeCreativeCloud" => true
"com.adobe.GC.Scheduler-1.0" => false
Apparently they generate a random 5 digit suffix for each process… just to be even more of a pain in the ass 🙄 Fuck Adobe backwards.
Unfortunately glob patterns aren’t available with uninstall launchctl:
. Also signal:
with any of the SIG
s doesn’t work either… including even KILL
.
0d185f9
to
645ccc2
Compare
@vitorgalvao I think this is as good as we’re going to get now with this… |
645ccc2
to
02e5702
Compare
They aren't, this is done by |
@reitermarkus Interesting. Looks like it should, but it isn't… even if I put both 'com.adobe.CCXProcess',
'com.adobe.ccxprocess', in the This current iteration is the only way I managed to find that both passes the CI and cosistently removes every process/piece of leftover Adobe crap I could find relating directly to CC. |
02e5702
to
fbb047e
Compare
The core code is not using |
@reitermarkus Right, but as mentioned by @vitorgalvao |
Since when? |
It's listed as a legacy subcommand on the @reitermarkus I’m not sure what the blocker/s is/are now? |
So is
That depends on whether we should change the core code to use |
Following on from Homebrew#67745, which was merged prematurely… this PR cleans up all of the leftover crap from Adobe CC.
fbb047e
to
bd56371
Compare
I'm not sure on the details of this… you'll have to ask @vitorgalvao who raised it.
Surely that's a seperate issue to this PR… why now all of a sudden is this an issue? @vitorgalvao |
Because then we wouldn't need the workaround in |
I wouldn't be so sure about that… cleaning up these Adobe processes feels like playing whack-a-mole at best! @reitermarkus Are you saying that you think because the underlying code behind the Have there been other casks where |
Well, I'm not.
Probably, but that's the open question.
I don't remember any, probably only Adobe manages to pull that shit off. |
😅 Probably 🙄
So this PR is basically now reliant on a new separate issue, which is to update all of the Homebrew internals to remove apparently deprecated |
rmdir: [ | ||
"#{appdir}/Adobe Creative Cloud", | ||
'/Applications/Utilities/Adobe Installers', | ||
'/Library/Application Support/Adobe{/CEP{/extensions,},}', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think some of these are a bit hard to parse, but fine, it’s Adobe, that you went through all this trouble is already great. Thank you. Let’s get this merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think some of these are a bit hard to parse
@vitorgalvao Yeah brace expansion can be tricky… this line is an example of why I opened #67806.
Following on from #67745, which was merged prematurely… this PR cleans up all of the leftover crap from Adobe CC.
After making all changes to the cask:
brew cask audit --download {{cask_file}}
is error-free.brew cask style --fix {{cask_file}}
reports no offenses.Additionally, if adding a new cask:
brew cask install {{cask_file}}
worked successfully.brew cask uninstall {{cask_file}}
worked successfully.