Skip to content

Instantly share code, notes, and snippets.

@DaniruKun
Created March 1, 2021 16:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaniruKun/a1d57e64ae3f7c0a92bbbb2d0950f4c1 to your computer and use it in GitHub Desktop.
Save DaniruKun/a1d57e64ae3f7c0a92bbbb2d0950f4c1 to your computer and use it in GitHub Desktop.
Patch MS Teams on macOS to detect non-USB only video input devices
#!/usr/bin/env zsh
echo "This script patches MS Teams on macOS to allow virtual cameras like OBS"
sudo codesign --remove-signature "/Applications/Microsoft Teams.app"
sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper.app"
sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper (GPU).app"
sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper (Plugin).app"
sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper (Renderer).app"
echo "Patching done!"