From 13c18e76a6ec1224539e0e7b394eb52b1b4e5584 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Thu, 17 Mar 2022 10:14:25 +0000 Subject: [PATCH] backup to ignore firmware --- backup.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backup.js b/backup.js index b0159036d..3ee71f54b 100644 --- a/backup.js +++ b/backup.js @@ -22,6 +22,10 @@ function bangleDownload() { var promise = Promise.resolve(); // Normal files normalFiles.forEach((filename,n) => { + if (filename==".firmware") { + console.log("Ignoring .firmware file"); + return; + } promise = promise.then(() => { Progress.hide({sticky: true}); var percent = n/fileCount;