Skip to content

Instantly share code, notes, and snippets.

@rickheil
Last active December 23, 2021 13:35
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 rickheil/af9d36f5177f0f5347586afbf69e1dca to your computer and use it in GitHub Desktop.
Save rickheil/af9d36f5177f0f5347586afbf69e1dca to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.rickheil.disable-slack-auto-updates</string>
<key>ProgramArguments</key>
<array>
<string>/bin/launchctl</string>
<string>setenv</string>
<string>SLACK_NO_AUTO_UPDATES</string>
<string>1</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
@fintechestenberg
Copy link

What is the diffrence between this approach and https://gist.github.com/rickheil/0ba04baf2bc0b49b7969a043cb81b336 ?
What is better?

@rickheil
Copy link
Author

@fintechestenberg the env variable may still work but I don't think is officially supported any longer and is a bit fiddly if i'm honest. The mobileconfig you linked is the supported method from Slack right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment