mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-28 20:19:48 +01:00
only run defaults write on darwin
This commit is contained in:
1 file changed
+5
-3
+5
-3
@@ -216,9 +216,11 @@ $dir/irecovery -f boot/kernelcache.img4
|
|||||||
sleep 1
|
sleep 1
|
||||||
$dir/irecovery -c "bootx"
|
$dir/irecovery -c "bootx"
|
||||||
|
|
||||||
defaults write -g ignore-devices -bool false
|
if [ "$os" = 'Darwin' ]; then
|
||||||
defaults write com.apple.AMPDevicesAgent dontAutomaticallySyncIPods -bool false
|
defaults write -g ignore-devices -bool false
|
||||||
killall Finder
|
defaults write com.apple.AMPDevicesAgent dontAutomaticallySyncIPods -bool false
|
||||||
|
killall Finder
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf work
|
rm -rf work
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in new issue
Block a user