Posted on 04-05-2018 09:26 AM
Hello folks ,
Can any one help me, how to disable the autoupdate of VLC media player using shell script.
Posted on 04-05-2018 12:30 PM
defaults write /Library/Preferences/org.videolan.vlc SUEnableAutomaticChecks 0
chown -R root:wheel /Library/Preferences/org.videolan.vlc.plist
chmod -R 644 /Library/Preferences/org.videolan.vlc.plist
defaults write /Library/Preferences/org.videolan.vlc SUSendProfileInfo 0
chown -R root:wheel /Library/Preferences/org.videolan.vlc.plist
chmod -R 644 /Library/Preferences/org.videolan.vlc.plist
also helpful:
/usr/bin/defaults write /Library/Preferences/org.videolan.vlc VLCFirstRun -date "2015-05-22T00:00:00Z" 2>/dev/null
/usr/bin/defaults write /Library/Preferences/org.videolan.vlc SUEnableAutomaticChecks -bool "false" 2>/dev/null
/usr/bin/killall cfprefsd 2>/dev/null
/bin/mkdir -p /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc/ 2>/dev/null
/bin/echo "# Allow metadata network access (boolean)" > /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc/vlcrc 2>/dev/null
/bin/echo "#metadata-network-access=0" >> /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc/vlcrc 2>/dev/null
/usr/sbin/chown -R root:wheel /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc 2>/dev/null
/bin/chmod -R 700 /System/Library/User Template/English.lproj/Library/Preferences/org.videolan.vlc 2>/dev/null