mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 17:57:01 +02: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
|
||||
$dir/irecovery -c "bootx"
|
||||
|
||||
defaults write -g ignore-devices -bool false
|
||||
defaults write com.apple.AMPDevicesAgent dontAutomaticallySyncIPods -bool false
|
||||
killall Finder
|
||||
if [ "$os" = 'Darwin' ]; then
|
||||
defaults write -g ignore-devices -bool false
|
||||
defaults write com.apple.AMPDevicesAgent dontAutomaticallySyncIPods -bool false
|
||||
killall Finder
|
||||
fi
|
||||
|
||||
rm -rf work
|
||||
echo ""
|
||||
|
||||
Reference in new issue
Block a user