Skip to content

Commit

Permalink
better update script and gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
NikodemMarek committed Dec 4, 2023
1 parent 08e70c9 commit 55be154
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.tmp
6 changes: 5 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
@@ -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/
Expand Down

0 comments on commit 55be154

Please sign in to comment.