-
-
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
imaging-edge-webcam 120_2403a,xB4KucKqdT (new cask) #198845
base: master
Are you sure you want to change the base?
imaging-edge-webcam 120_2403a,xB4KucKqdT (new cask) #198845
Conversation
Casks/i/imaging-edge-webcam.rb
Outdated
pkg "IEW_INST.pkg" | ||
|
||
uninstall pkgutil: "com.sony.Webcam" | ||
# trash: "/Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension" |
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.
This Cask installs a Camera Extension.
In System Settings > General > Login Items & Extensions
:
It's location is /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension
and it can't be removed due to an Operation not permitted
error:
==> Implied `brew uninstall --cask imaging-edge-webcam`
==> Uninstalling packages with sudo; the password may be necessary:
==> Removing files:
/Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension
Password:
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/_CodeSignature/CodeResources: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/_CodeSignature: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/MacOS/com.sony.imagingedge.iew.CameraExt: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/MacOS: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/Resources/dummy_gray.jpg: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/Resources/dummy_white.jpg: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/Resources: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/Frameworks/LjAdapter/libLja_PTP_USB.dylib: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/Frameworks/LjAdapter/libusb-1.0.0.dylib: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/Frameworks/LjAdapter: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/Frameworks: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents/Info.plist: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension/Contents: Operation not permitted
rm: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension: Operation not permitted
How are we going to handle this best? Neither trash
nor delete
works, that's why it's commented out.
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.
Does the pkg uninstall not remove this?
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.
It didn't on my machine – neither from the System Settings nor the Path.
I tried to remove it manually from the System Settings, which worked, but kept the extension in the Path: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension
. * = UUID1
Then, after installing again, it shows up as expected in System Settings and there is a second extension in the Path: /Library/SystemExtensions/*/com.sony.imagingedge.iew.CameraExt.systemextension
. * = UUID2
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.
❯ systemextensionsctl list
2 extension(s)
--- com.apple.system_extension.cmio (Go to 'System Settings > General > Login Items & Extensions > Camera Extensions' to modify these system extension(s))
enabled active teamID bundleID (version) name [state]
__________ com.sony.imagingedge.iew.CameraExt (1.2.0.02210/1) CameraExt [terminated waiting to uninstall on reboot]
* * __________ com.sony.imagingedge.iew.CameraExt (1.2.0.02210/1) CameraExt [activated enabled]
❯ brew uninstall imaging-edge-webcam --zap
Error: Cask 'imaging-edge-webcam' is not installed.
This shows both instances of the Camera Extension:
- The first one
[terminated waiting to uninstall on reboot]
, that I deleted manually in System Settings - and the second one
[activated enabled]
, that is not being removed by pkg uninstall.
Removing the Camera Extension manually via System Settings > General > Login Items & Extensions > Camera Extensions
seems to work.
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.
The ftdi-vcp-driver
cask has a similar limitation with system extensions. I've expanded the comment to better explain the situation. Should we also add a caveat to inform users that they need to manually remove the extension through System Settings > General > Login Items & Extensions
?
d6f3ff2
to
9b9bafd
Compare
Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.
In the following questions
<cask>
is the token of the cask you're submitting.After making any changes to a cask, existing or new, verify:
brew audit --cask --online <cask>
is error-free.brew style --fix <cask>
reports no offenses.Additionally, if adding a new cask:
brew audit --cask --new <cask>
worked successfully.HOMEBREW_NO_INSTALL_FROM_API=1 brew install --cask <cask>
worked successfully.brew uninstall --cask <cask>
worked successfully.brew uninstall --cask <cask> --zap
worked successfully.