From 55be1544c3d5239550b5ee1e648fe969a5e27a2c Mon Sep 17 00:00:00 2001 From: nikodem Date: Mon, 4 Dec 2023 12:22:42 +0100 Subject: [PATCH] better update script and gitignore --- .gitignore | 1 + update.sh | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d36977d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.tmp diff --git a/update.sh b/update.sh index c37607f..35ad472 100755 --- a/update.sh +++ b/update.sh @@ -1,6 +1,10 @@ #!/bin/sh -unzip -o -q .tmp/firmware.zip -d .tmp/ +echo "put the nice!nano into bootloader, flashing in 5 seconds..." +sleep 5 +echo "flashing..." + +unzip -o -q $(find .tmp -name *.zip) -d .tmp/ mkdir .tmp/nicenano/ sudo mount /dev/sda .tmp/nicenano/