The third line (mv) moves the file to /Library/LaunchDaemons/ which is where launchd looks for files like these. The second line (chown) makes the file owned by root. The first line (chmod) sets the correct permissions. Sudo launchctl load /Library/LaunchDaemons/ Sudo mv -vn ~/Downloads/ /Library/LaunchDaemons/ Then I would run these 4 commands in Terminal: chmod 644 ~/Downloads/ (You can also control-/right-click on this link to download a copy of that file.)Īnd save it as ~/Downloads/ (that’s just a temporary location). I never found its self-updater to update often enough for my tastes, so if I was doing this, I would use launchd to check for new versions once each day, say 5:00 a.m. Now, the annoying thing about Flash (well, one of them…) is that you have to run the installer/updater as root. Make it executable: chmod 755 /usr/local/bin/di-flash.sh Save that somewhere, such as /usr/local/bin/di-flash.sh (or ~/bin/di-flash.sh or anywhere else - use your chosen /path/to/di-flash.sh in the instructions below) I have a script which will check your installed version of Flash against the latest version, and download/install the update. ![]() If you use brew I think you can install Flash with brew cask install flash-player and it will then be updated whenever you update brew, which might be easier than dealing with these instructions. As nice as it is for those of us who don’t want to use Flash to not have to use it… for those who do, it remains a necessary evil, which may be evil but is still necessary (at least for them).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |