Skip to content

Commit

Permalink
added: notifications for when process is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaiNueleanu committed Sep 22, 2020
1 parent 3a3426f commit ca0eaf0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
out
out
.DS_Store
2 changes: 1 addition & 1 deletion image_to_sd_card.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ else
sudo dd bs=1m if=kiosk-$version-shrinked.img of=/dev/rdisk$disk; sync
sleep 5
sudo diskutil eject /dev/rdisk$disk

osascript -e 'display notification "Succesfully wrote Kiosk to SD Card"'
fi
1 change: 1 addition & 0 deletions sd_card_to_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ else
sudo dd if=/dev/rdisk$disk of=kiosk-$version.img bs=4m
docker run --rm --privileged=true -v `pwd`:/workdir turee/pishrink-docker pishrink kiosk-$version.img kiosk-$version-shrinked.img
sudo diskutil eject /dev/rdisk$disk
osascript -e 'display notification "Succesfully cloned Kiosk to img file"'

fi

0 comments on commit ca0eaf0

Please sign in to comment.