mirror of
https://github.com/Pecusx/jataricart.git
synced 2026-05-20 22:33:22 +02:00
added example
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
for i in *; do
|
||||||
|
! [ -f "$i/macroflashname.asx" ] && continue
|
||||||
|
./makeflashwrite.sh "$i" noprocess
|
||||||
|
echo "press RETURN"
|
||||||
|
read
|
||||||
|
done
|
||||||
|
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
outfile="$1"
|
||||||
|
|
||||||
|
vol=/Volumes/SDCard
|
||||||
|
|
||||||
|
echo Copy $outfile to card?
|
||||||
|
read
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
[ -d "$vol" ] && cp "$outfile" "$vol"/ATARI/ && { eject; exit; }
|
||||||
|
echo Waiting for card inserted...
|
||||||
|
sleep 1
|
||||||
|
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user