Last active
March 23, 2020 13:30
-
-
Save screeny05/0a31cb8e60f8c9af52c42efd72d166a7 to your computer and use it in GitHub Desktop.
MS Teams activate development mode (macOS)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf /tmp/msteams | |
mkdir /tmp/msteams | |
pushd /tmp/msteams | |
npx asar extract /Applications/Microsoft\ Teams.app/Contents/Resources/app.asar /tmp/msteams | |
npx fx /tmp/msteams/env_config.json "{...this, name: 'development', environment: 'Development'}" save . | |
npx asar pack . ../app.asar | |
popd | |
sudo mv /Applications/Microsoft\ Teams.app/Contents/Resources/app.asar /Applications/Microsoft\ Teams.app/Contents/Resources/app_org.asar | |
sudo mv /tmp/app.asar /Applications/Microsoft\ Teams.app/Contents/Resources/app.asar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -rf /Applications/Microsoft\ Teams.app/Contents/Resources/app.asar | |
sudo mv /Applications/Microsoft\ Teams.app/Contents/Resources/app_org.asar /Applications/Microsoft\ Teams.app/Contents/Resources/app.asar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment