-
-
Save samerserhan91/54415fcb01e33afbc20894339627c84d to your computer and use it in GitHub Desktop.
Flash Player Update Script for Mac OS X
This file contains 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
This is a script that updates Adobe Flash Player on Mac OS X. | |
It is based on the one provided at https://jamfnation.jamfsoftware.com/discussion.html?id=7658. |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>de.kuron-germany.flash-update</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/flash_check.sh</string> | |
</array> | |
<key>StandardOutPath</key> | |
<string>/Library/Logs/FlashUpdate.log</string> | |
<key>StandardErrorPath</key> | |
<string>/Library/Logs/FlashUpdate.log</string> | |
<key>StartInterval</key> | |
<integer>86400</integer> | |
</dict> | |
</plist> |
This file contains 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
<?xml version="1.0" ?> | |
<flashing> | |
<header> | |
<phone_model model="aljeter"/> | |
<software_version version="aljeter-user 8.0.0 OPP27.91-87 89 release-keysM8937_19.22.05.62R"/> | |
<subsidy_lock_config MD5="d41d8cd98f00b204e9800998ecf8427e" name="slcf_rev_d_default_v1.0.nvm"/> | |
<regulatory_config SHA1="ee80c08628ae93e672f3eb0f7a85298d459a4541" name="regulatory_info_xt1922_5.png"/> | |
<sparsing enabled="true" max-sparse-size="535822336"/> | |
<interfaces> | |
<interface name="AP"/> | |
</interfaces> | |
</header> | |
<steps interface="AP"> | |
<step operation="getvar" var="max-sparse-size"/> | |
<step operation="oem" var="fb_mode_set"/> | |
<step MD5="7eca26b5ce1a4c9391b2db1649fe024c" filename="gpt.bin" operation="flash" partition="partition"/> | |
<step MD5="0d607162296ddcfefc04d49ce57e08d6" filename="bootloader.img" operation="flash" partition="bootloader"/> | |
<step MD5="a096eb3924f059808e73500f2b2ecb1d" filename="NON-HLOS.bin" operation="flash" partition="modem"/> | |
<step MD5="1a6109b94bdddd79b056f62775a5f67b" filename="fsg.mbn" operation="flash" partition="fsg"/> | |
<step operation="erase" partition="modemst1"/> | |
<step operation="erase" partition="modemst2"/> | |
<step MD5="bcde8ec69dc65fa9e215906dbbaba873" filename="adspso.bin" operation="flash" partition="dsp"/> | |
<step MD5="c6814e021c4e5b4b12e4fadf36347b26" filename="logo.bin" operation="flash" partition="logo"/> | |
<step MD5="740bc357cc62b5b91d7d251a716befa5" filename="boot.img" operation="flash" partition="boot"/> | |
<step MD5="ff7ad0aa029e8c015029ac1926fb5289" filename="recovery.img" operation="flash" partition="recovery"/> | |
<step MD5="6dd495640ab35d6fe5e78ad0a05062ec" filename="system.img_sparsechunk.0" operation="flash" partition="system"/> | |
<step MD5="975f6501ac0d5c4293b8d567a772f8c0" filename="system.img_sparsechunk.1" operation="flash" partition="system"/> | |
<step MD5="d90203c96c8c09736be3579e2d5ffbb4" filename="system.img_sparsechunk.2" operation="flash" partition="system"/> | |
<step MD5="244569e41952dbdf76275f62d63bf0b4" filename="system.img_sparsechunk.3" operation="flash" partition="system"/> | |
<step MD5="ce409bd9147f9e0111b09a0fbdbcd31a" filename="system.img_sparsechunk.4" operation="flash" partition="system"/> | |
<step MD5="abbd347c45ba549f842149259ef5f998" filename="vendor.img" operation="flash" partition="vendor"/> | |
<step MD5="c6e6be68c5d8a21a698f95b878754902" filename="oem.img" operation="flash" partition="oem"/> | |
<step operation="erase" partition="cache"/> | |
<step operation="erase" partition="userdata"/> | |
<step operation="erase" partition="DDR"/> | |
<step operation="oem" var="fb_mode_clear"/> | |
</steps> | |
</flashing> |
This file contains 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
#!/bin/bash | |
cd $(dirname $0) | |
cp /Library/LaunchDaemons/de.kuron-germany.flash-update.plist . | |
cp /usr/local/bin/flash_check.sh . | |
This file contains 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
install: | |
cp de.kuron-germany.flash-update.plist /Library/LaunchDaemons/ | |
mkdir -p /usr/local/bin | |
cp flash_check.sh /usr/local/bin/ | |
launchctl load /Library/LaunchDaemons/de.kuron-germany.flash-update.plist | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`
`