diff --git a/app/assets/battery-active-20.png b/app/assets/battery-active-20.png index f598bdf..e011474 100644 Binary files a/app/assets/battery-active-20.png and b/app/assets/battery-active-20.png differ diff --git a/app/assets/battery-active-20@1.25x.png b/app/assets/battery-active-20@1.25x.png index f37ed29..32a4cfe 100644 Binary files a/app/assets/battery-active-20@1.25x.png and b/app/assets/battery-active-20@1.25x.png differ diff --git a/app/assets/battery-active-20@1.33x.png b/app/assets/battery-active-20@1.33x.png index c5b1b70..8333c6e 100644 Binary files a/app/assets/battery-active-20@1.33x.png and b/app/assets/battery-active-20@1.33x.png differ diff --git a/app/assets/battery-active-20@1.4x.png b/app/assets/battery-active-20@1.4x.png index cf0c614..f375ad9 100644 Binary files a/app/assets/battery-active-20@1.4x.png and b/app/assets/battery-active-20@1.4x.png differ diff --git a/app/assets/battery-active-20@1.5x.png b/app/assets/battery-active-20@1.5x.png index dbec805..430212b 100644 Binary files a/app/assets/battery-active-20@1.5x.png and b/app/assets/battery-active-20@1.5x.png differ diff --git a/app/assets/battery-active-20@1.8x.png b/app/assets/battery-active-20@1.8x.png index eb055b6..85368ea 100644 Binary files a/app/assets/battery-active-20@1.8x.png and b/app/assets/battery-active-20@1.8x.png differ diff --git a/app/assets/battery-active-20@2.5x.png b/app/assets/battery-active-20@2.5x.png index a0f436a..c0306bf 100644 Binary files a/app/assets/battery-active-20@2.5x.png and b/app/assets/battery-active-20@2.5x.png differ diff --git a/app/assets/battery-active-20@2x.png b/app/assets/battery-active-20@2x.png index 2d589ab..eeaa269 100644 Binary files a/app/assets/battery-active-20@2x.png and b/app/assets/battery-active-20@2x.png differ diff --git a/app/assets/battery-active-20@3x.png b/app/assets/battery-active-20@3x.png index f05a0b3..88e8d6f 100644 Binary files a/app/assets/battery-active-20@3x.png and b/app/assets/battery-active-20@3x.png differ diff --git a/app/assets/battery-active-20@4x.png b/app/assets/battery-active-20@4x.png index fbf0fcd..44b344a 100644 Binary files a/app/assets/battery-active-20@4x.png and b/app/assets/battery-active-20@4x.png differ diff --git a/app/assets/battery-active-20@5x.png b/app/assets/battery-active-20@5x.png index b80b6da..0b512cf 100644 Binary files a/app/assets/battery-active-20@5x.png and b/app/assets/battery-active-20@5x.png differ diff --git a/app/assets/battery-active-50.png b/app/assets/battery-active-50.png index 5fe71a7..819d50b 100644 Binary files a/app/assets/battery-active-50.png and b/app/assets/battery-active-50.png differ diff --git a/app/assets/battery-active-50@1.25x.png b/app/assets/battery-active-50@1.25x.png index e3b2474..c2e56ef 100644 Binary files a/app/assets/battery-active-50@1.25x.png and b/app/assets/battery-active-50@1.25x.png differ diff --git a/app/assets/battery-active-50@1.33x.png b/app/assets/battery-active-50@1.33x.png index 49ed530..3a37361 100644 Binary files a/app/assets/battery-active-50@1.33x.png and b/app/assets/battery-active-50@1.33x.png differ diff --git a/app/assets/battery-active-50@1.4x.png b/app/assets/battery-active-50@1.4x.png index 69f9168..076c29e 100644 Binary files a/app/assets/battery-active-50@1.4x.png and b/app/assets/battery-active-50@1.4x.png differ diff --git a/app/assets/battery-active-50@1.5x.png b/app/assets/battery-active-50@1.5x.png index 08e5ef6..04ff74e 100644 Binary files a/app/assets/battery-active-50@1.5x.png and b/app/assets/battery-active-50@1.5x.png differ diff --git a/app/assets/battery-active-50@1.8x.png b/app/assets/battery-active-50@1.8x.png index de91efc..32e8115 100644 Binary files a/app/assets/battery-active-50@1.8x.png and b/app/assets/battery-active-50@1.8x.png differ diff --git a/app/assets/battery-active-50@2.5x.png b/app/assets/battery-active-50@2.5x.png index 23cb3b6..26024ed 100644 Binary files a/app/assets/battery-active-50@2.5x.png and b/app/assets/battery-active-50@2.5x.png differ diff --git a/app/assets/battery-active-50@2x.png b/app/assets/battery-active-50@2x.png index e6b490d..3eecd63 100644 Binary files a/app/assets/battery-active-50@2x.png and b/app/assets/battery-active-50@2x.png differ diff --git a/app/assets/battery-active-50@3x.png b/app/assets/battery-active-50@3x.png index 192e5c6..fad17d2 100644 Binary files a/app/assets/battery-active-50@3x.png and b/app/assets/battery-active-50@3x.png differ diff --git a/app/assets/battery-active-50@4x.png b/app/assets/battery-active-50@4x.png index 1d5f9a0..246aac0 100644 Binary files a/app/assets/battery-active-50@4x.png and b/app/assets/battery-active-50@4x.png differ diff --git a/app/assets/battery-active-50@5x.png b/app/assets/battery-active-50@5x.png index 6549a48..07a8bf3 100644 Binary files a/app/assets/battery-active-50@5x.png and b/app/assets/battery-active-50@5x.png differ diff --git a/app/assets/battery-active-80.png b/app/assets/battery-active-80.png index ba8b55b..6983ba4 100644 Binary files a/app/assets/battery-active-80.png and b/app/assets/battery-active-80.png differ diff --git a/app/assets/battery-active-80@1.25x.png b/app/assets/battery-active-80@1.25x.png index 31d3efe..b379658 100644 Binary files a/app/assets/battery-active-80@1.25x.png and b/app/assets/battery-active-80@1.25x.png differ diff --git a/app/assets/battery-active-80@1.33x.png b/app/assets/battery-active-80@1.33x.png index 529c96e..e466249 100644 Binary files a/app/assets/battery-active-80@1.33x.png and b/app/assets/battery-active-80@1.33x.png differ diff --git a/app/assets/battery-active-80@1.4x.png b/app/assets/battery-active-80@1.4x.png index 85f6c0d..900e00d 100644 Binary files a/app/assets/battery-active-80@1.4x.png and b/app/assets/battery-active-80@1.4x.png differ diff --git a/app/assets/battery-active-80@1.5x.png b/app/assets/battery-active-80@1.5x.png index e8c6c94..b81d3e0 100644 Binary files a/app/assets/battery-active-80@1.5x.png and b/app/assets/battery-active-80@1.5x.png differ diff --git a/app/assets/battery-active-80@1.8x.png b/app/assets/battery-active-80@1.8x.png index a7ea85b..6a738d1 100644 Binary files a/app/assets/battery-active-80@1.8x.png and b/app/assets/battery-active-80@1.8x.png differ diff --git a/app/assets/battery-active-80@2.5x.png b/app/assets/battery-active-80@2.5x.png index 73bfb48..afa152a 100644 Binary files a/app/assets/battery-active-80@2.5x.png and b/app/assets/battery-active-80@2.5x.png differ diff --git a/app/assets/battery-active-80@2x.png b/app/assets/battery-active-80@2x.png index 7ae94be..c54f384 100644 Binary files a/app/assets/battery-active-80@2x.png and b/app/assets/battery-active-80@2x.png differ diff --git a/app/assets/battery-active-80@3x.png b/app/assets/battery-active-80@3x.png index 95cda2d..b4dd369 100644 Binary files a/app/assets/battery-active-80@3x.png and b/app/assets/battery-active-80@3x.png differ diff --git a/app/assets/battery-active-80@4x.png b/app/assets/battery-active-80@4x.png index ccb95b0..0706cf2 100644 Binary files a/app/assets/battery-active-80@4x.png and b/app/assets/battery-active-80@4x.png differ diff --git a/app/assets/battery-active-80@5x.png b/app/assets/battery-active-80@5x.png index 6871553..310fb74 100644 Binary files a/app/assets/battery-active-80@5x.png and b/app/assets/battery-active-80@5x.png differ diff --git a/app/assets/battery-active-95.png b/app/assets/battery-active-95.png new file mode 100644 index 0000000..eecbc1e Binary files /dev/null and b/app/assets/battery-active-95.png differ diff --git a/app/assets/battery-active-95@1.25x.png b/app/assets/battery-active-95@1.25x.png new file mode 100644 index 0000000..c8faac3 Binary files /dev/null and b/app/assets/battery-active-95@1.25x.png differ diff --git a/app/assets/battery-active-95@1.33x.png b/app/assets/battery-active-95@1.33x.png new file mode 100644 index 0000000..ffcadf8 Binary files /dev/null and b/app/assets/battery-active-95@1.33x.png differ diff --git a/app/assets/battery-active-95@1.4x.png b/app/assets/battery-active-95@1.4x.png new file mode 100644 index 0000000..57f1260 Binary files /dev/null and b/app/assets/battery-active-95@1.4x.png differ diff --git a/app/assets/battery-active-95@1.5x.png b/app/assets/battery-active-95@1.5x.png new file mode 100644 index 0000000..da99a10 Binary files /dev/null and b/app/assets/battery-active-95@1.5x.png differ diff --git a/app/assets/battery-active-95@1.8x.png b/app/assets/battery-active-95@1.8x.png new file mode 100644 index 0000000..85e6a61 Binary files /dev/null and b/app/assets/battery-active-95@1.8x.png differ diff --git a/app/assets/battery-active-95@2.5x.png b/app/assets/battery-active-95@2.5x.png new file mode 100644 index 0000000..faeca32 Binary files /dev/null and b/app/assets/battery-active-95@2.5x.png differ diff --git a/app/assets/battery-active-95@2x.png b/app/assets/battery-active-95@2x.png new file mode 100644 index 0000000..0076064 Binary files /dev/null and b/app/assets/battery-active-95@2x.png differ diff --git a/app/assets/battery-active-95@3x.png b/app/assets/battery-active-95@3x.png new file mode 100644 index 0000000..8a0f8c4 Binary files /dev/null and b/app/assets/battery-active-95@3x.png differ diff --git a/app/assets/battery-active-95@4x.png b/app/assets/battery-active-95@4x.png new file mode 100644 index 0000000..0dccf57 Binary files /dev/null and b/app/assets/battery-active-95@4x.png differ diff --git a/app/assets/battery-active-95@5x.png b/app/assets/battery-active-95@5x.png new file mode 100644 index 0000000..622ef99 Binary files /dev/null and b/app/assets/battery-active-95@5x.png differ diff --git a/app/assets/battery-active-darkmode-20.png b/app/assets/battery-active-darkmode-20.png index 6b0c01b..106fc37 100644 Binary files a/app/assets/battery-active-darkmode-20.png and b/app/assets/battery-active-darkmode-20.png differ diff --git a/app/assets/battery-active-darkmode-20@1.25x.png b/app/assets/battery-active-darkmode-20@1.25x.png index 059fc17..e43015e 100644 Binary files a/app/assets/battery-active-darkmode-20@1.25x.png and b/app/assets/battery-active-darkmode-20@1.25x.png differ diff --git a/app/assets/battery-active-darkmode-20@1.33x.png b/app/assets/battery-active-darkmode-20@1.33x.png index b1842dc..dae65ec 100644 Binary files a/app/assets/battery-active-darkmode-20@1.33x.png and b/app/assets/battery-active-darkmode-20@1.33x.png differ diff --git a/app/assets/battery-active-darkmode-20@1.4x.png b/app/assets/battery-active-darkmode-20@1.4x.png index e3552b2..28c8155 100644 Binary files a/app/assets/battery-active-darkmode-20@1.4x.png and b/app/assets/battery-active-darkmode-20@1.4x.png differ diff --git a/app/assets/battery-active-darkmode-20@1.5x.png b/app/assets/battery-active-darkmode-20@1.5x.png index dbba60c..0c01c5d 100644 Binary files a/app/assets/battery-active-darkmode-20@1.5x.png and b/app/assets/battery-active-darkmode-20@1.5x.png differ diff --git a/app/assets/battery-active-darkmode-20@1.8x.png b/app/assets/battery-active-darkmode-20@1.8x.png index 6b7edbe..2b0292f 100644 Binary files a/app/assets/battery-active-darkmode-20@1.8x.png and b/app/assets/battery-active-darkmode-20@1.8x.png differ diff --git a/app/assets/battery-active-darkmode-20@2.5x.png b/app/assets/battery-active-darkmode-20@2.5x.png index 78cf083..6fe16e1 100644 Binary files a/app/assets/battery-active-darkmode-20@2.5x.png and b/app/assets/battery-active-darkmode-20@2.5x.png differ diff --git a/app/assets/battery-active-darkmode-20@2x.png b/app/assets/battery-active-darkmode-20@2x.png index 295e3f3..dfbc5cd 100644 Binary files a/app/assets/battery-active-darkmode-20@2x.png and b/app/assets/battery-active-darkmode-20@2x.png differ diff --git a/app/assets/battery-active-darkmode-20@3x.png b/app/assets/battery-active-darkmode-20@3x.png index 406607b..25af06f 100644 Binary files a/app/assets/battery-active-darkmode-20@3x.png and b/app/assets/battery-active-darkmode-20@3x.png differ diff --git a/app/assets/battery-active-darkmode-20@4x.png b/app/assets/battery-active-darkmode-20@4x.png index b271c29..733277e 100644 Binary files a/app/assets/battery-active-darkmode-20@4x.png and b/app/assets/battery-active-darkmode-20@4x.png differ diff --git a/app/assets/battery-active-darkmode-20@5x.png b/app/assets/battery-active-darkmode-20@5x.png index 7605ac1..fd1aa4e 100644 Binary files a/app/assets/battery-active-darkmode-20@5x.png and b/app/assets/battery-active-darkmode-20@5x.png differ diff --git a/app/assets/battery-active-darkmode-50.png b/app/assets/battery-active-darkmode-50.png index 36fc195..df386d6 100644 Binary files a/app/assets/battery-active-darkmode-50.png and b/app/assets/battery-active-darkmode-50.png differ diff --git a/app/assets/battery-active-darkmode-50@1.25x.png b/app/assets/battery-active-darkmode-50@1.25x.png index a0549b7..ba4ea9f 100644 Binary files a/app/assets/battery-active-darkmode-50@1.25x.png and b/app/assets/battery-active-darkmode-50@1.25x.png differ diff --git a/app/assets/battery-active-darkmode-50@1.33x.png b/app/assets/battery-active-darkmode-50@1.33x.png index e478fd4..cc69d94 100644 Binary files a/app/assets/battery-active-darkmode-50@1.33x.png and b/app/assets/battery-active-darkmode-50@1.33x.png differ diff --git a/app/assets/battery-active-darkmode-50@1.4x.png b/app/assets/battery-active-darkmode-50@1.4x.png index 70c8f96..77be640 100644 Binary files a/app/assets/battery-active-darkmode-50@1.4x.png and b/app/assets/battery-active-darkmode-50@1.4x.png differ diff --git a/app/assets/battery-active-darkmode-50@1.5x.png b/app/assets/battery-active-darkmode-50@1.5x.png index 939ebca..d630442 100644 Binary files a/app/assets/battery-active-darkmode-50@1.5x.png and b/app/assets/battery-active-darkmode-50@1.5x.png differ diff --git a/app/assets/battery-active-darkmode-50@1.8x.png b/app/assets/battery-active-darkmode-50@1.8x.png index cab0ea1..781358c 100644 Binary files a/app/assets/battery-active-darkmode-50@1.8x.png and b/app/assets/battery-active-darkmode-50@1.8x.png differ diff --git a/app/assets/battery-active-darkmode-50@2.5x.png b/app/assets/battery-active-darkmode-50@2.5x.png index 6095b85..26ce38d 100644 Binary files a/app/assets/battery-active-darkmode-50@2.5x.png and b/app/assets/battery-active-darkmode-50@2.5x.png differ diff --git a/app/assets/battery-active-darkmode-50@2x.png b/app/assets/battery-active-darkmode-50@2x.png index 692c90b..1e835c6 100644 Binary files a/app/assets/battery-active-darkmode-50@2x.png and b/app/assets/battery-active-darkmode-50@2x.png differ diff --git a/app/assets/battery-active-darkmode-50@3x.png b/app/assets/battery-active-darkmode-50@3x.png index 79a6dcc..37dbd60 100644 Binary files a/app/assets/battery-active-darkmode-50@3x.png and b/app/assets/battery-active-darkmode-50@3x.png differ diff --git a/app/assets/battery-active-darkmode-50@4x.png b/app/assets/battery-active-darkmode-50@4x.png index f8e0c69..186f2e5 100644 Binary files a/app/assets/battery-active-darkmode-50@4x.png and b/app/assets/battery-active-darkmode-50@4x.png differ diff --git a/app/assets/battery-active-darkmode-50@5x.png b/app/assets/battery-active-darkmode-50@5x.png index 71cfab8..0365ad2 100644 Binary files a/app/assets/battery-active-darkmode-50@5x.png and b/app/assets/battery-active-darkmode-50@5x.png differ diff --git a/app/assets/battery-active-darkmode-80.png b/app/assets/battery-active-darkmode-80.png index e2d658c..0954be9 100644 Binary files a/app/assets/battery-active-darkmode-80.png and b/app/assets/battery-active-darkmode-80.png differ diff --git a/app/assets/battery-active-darkmode-80@1.25x.png b/app/assets/battery-active-darkmode-80@1.25x.png index 56a7386..f69840f 100644 Binary files a/app/assets/battery-active-darkmode-80@1.25x.png and b/app/assets/battery-active-darkmode-80@1.25x.png differ diff --git a/app/assets/battery-active-darkmode-80@1.33x.png b/app/assets/battery-active-darkmode-80@1.33x.png index 957eb43..2d09dee 100644 Binary files a/app/assets/battery-active-darkmode-80@1.33x.png and b/app/assets/battery-active-darkmode-80@1.33x.png differ diff --git a/app/assets/battery-active-darkmode-80@1.4x.png b/app/assets/battery-active-darkmode-80@1.4x.png index a2a145a..1235496 100644 Binary files a/app/assets/battery-active-darkmode-80@1.4x.png and b/app/assets/battery-active-darkmode-80@1.4x.png differ diff --git a/app/assets/battery-active-darkmode-80@1.5x.png b/app/assets/battery-active-darkmode-80@1.5x.png index d8f8438..660e11a 100644 Binary files a/app/assets/battery-active-darkmode-80@1.5x.png and b/app/assets/battery-active-darkmode-80@1.5x.png differ diff --git a/app/assets/battery-active-darkmode-80@1.8x.png b/app/assets/battery-active-darkmode-80@1.8x.png index f621998..4f6d2d3 100644 Binary files a/app/assets/battery-active-darkmode-80@1.8x.png and b/app/assets/battery-active-darkmode-80@1.8x.png differ diff --git a/app/assets/battery-active-darkmode-80@2.5x.png b/app/assets/battery-active-darkmode-80@2.5x.png index 7675ab1..48c0db3 100644 Binary files a/app/assets/battery-active-darkmode-80@2.5x.png and b/app/assets/battery-active-darkmode-80@2.5x.png differ diff --git a/app/assets/battery-active-darkmode-80@2x.png b/app/assets/battery-active-darkmode-80@2x.png index d52b9c6..b7f29d1 100644 Binary files a/app/assets/battery-active-darkmode-80@2x.png and b/app/assets/battery-active-darkmode-80@2x.png differ diff --git a/app/assets/battery-active-darkmode-80@3x.png b/app/assets/battery-active-darkmode-80@3x.png index 2f80af6..64fe9df 100644 Binary files a/app/assets/battery-active-darkmode-80@3x.png and b/app/assets/battery-active-darkmode-80@3x.png differ diff --git a/app/assets/battery-active-darkmode-80@4x.png b/app/assets/battery-active-darkmode-80@4x.png index 833ac8f..436528d 100644 Binary files a/app/assets/battery-active-darkmode-80@4x.png and b/app/assets/battery-active-darkmode-80@4x.png differ diff --git a/app/assets/battery-active-darkmode-80@5x.png b/app/assets/battery-active-darkmode-80@5x.png index 28e77ac..62d0484 100644 Binary files a/app/assets/battery-active-darkmode-80@5x.png and b/app/assets/battery-active-darkmode-80@5x.png differ diff --git a/app/assets/battery-active-darkmode-95.png b/app/assets/battery-active-darkmode-95.png new file mode 100644 index 0000000..25ed60a Binary files /dev/null and b/app/assets/battery-active-darkmode-95.png differ diff --git a/app/assets/battery-inactive-20.png b/app/assets/battery-inactive-20.png index 185bed1..1567cbf 100644 Binary files a/app/assets/battery-inactive-20.png and b/app/assets/battery-inactive-20.png differ diff --git a/app/assets/battery-inactive-20@1.25x.png b/app/assets/battery-inactive-20@1.25x.png index cde5bdf..e77a86e 100644 Binary files a/app/assets/battery-inactive-20@1.25x.png and b/app/assets/battery-inactive-20@1.25x.png differ diff --git a/app/assets/battery-inactive-20@1.33x.png b/app/assets/battery-inactive-20@1.33x.png index 4609355..d491694 100644 Binary files a/app/assets/battery-inactive-20@1.33x.png and b/app/assets/battery-inactive-20@1.33x.png differ diff --git a/app/assets/battery-inactive-20@1.4x.png b/app/assets/battery-inactive-20@1.4x.png index 49ae5c9..5d91f8d 100644 Binary files a/app/assets/battery-inactive-20@1.4x.png and b/app/assets/battery-inactive-20@1.4x.png differ diff --git a/app/assets/battery-inactive-20@1.5x.png b/app/assets/battery-inactive-20@1.5x.png index c435fa9..130b725 100644 Binary files a/app/assets/battery-inactive-20@1.5x.png and b/app/assets/battery-inactive-20@1.5x.png differ diff --git a/app/assets/battery-inactive-20@1.8x.png b/app/assets/battery-inactive-20@1.8x.png index ac9a79c..0d1707d 100644 Binary files a/app/assets/battery-inactive-20@1.8x.png and b/app/assets/battery-inactive-20@1.8x.png differ diff --git a/app/assets/battery-inactive-20@2.5x.png b/app/assets/battery-inactive-20@2.5x.png index 2391b0d..b0f0afe 100644 Binary files a/app/assets/battery-inactive-20@2.5x.png and b/app/assets/battery-inactive-20@2.5x.png differ diff --git a/app/assets/battery-inactive-20@2x.png b/app/assets/battery-inactive-20@2x.png index d4f79e8..bf28c81 100644 Binary files a/app/assets/battery-inactive-20@2x.png and b/app/assets/battery-inactive-20@2x.png differ diff --git a/app/assets/battery-inactive-20@3x.png b/app/assets/battery-inactive-20@3x.png index 7d03799..7c4e94f 100644 Binary files a/app/assets/battery-inactive-20@3x.png and b/app/assets/battery-inactive-20@3x.png differ diff --git a/app/assets/battery-inactive-20@4x.png b/app/assets/battery-inactive-20@4x.png index 42058fc..27a7ab3 100644 Binary files a/app/assets/battery-inactive-20@4x.png and b/app/assets/battery-inactive-20@4x.png differ diff --git a/app/assets/battery-inactive-20@5x.png b/app/assets/battery-inactive-20@5x.png index 82f111d..4cbe26b 100644 Binary files a/app/assets/battery-inactive-20@5x.png and b/app/assets/battery-inactive-20@5x.png differ diff --git a/app/assets/battery-inactive-50.png b/app/assets/battery-inactive-50.png index ab4cb04..be01d3c 100644 Binary files a/app/assets/battery-inactive-50.png and b/app/assets/battery-inactive-50.png differ diff --git a/app/assets/battery-inactive-50@1.25x.png b/app/assets/battery-inactive-50@1.25x.png index 70f510f..9f029de 100644 Binary files a/app/assets/battery-inactive-50@1.25x.png and b/app/assets/battery-inactive-50@1.25x.png differ diff --git a/app/assets/battery-inactive-50@1.33x.png b/app/assets/battery-inactive-50@1.33x.png index 97de365..7b096a2 100644 Binary files a/app/assets/battery-inactive-50@1.33x.png and b/app/assets/battery-inactive-50@1.33x.png differ diff --git a/app/assets/battery-inactive-50@1.4x.png b/app/assets/battery-inactive-50@1.4x.png index 0495a14..ac22206 100644 Binary files a/app/assets/battery-inactive-50@1.4x.png and b/app/assets/battery-inactive-50@1.4x.png differ diff --git a/app/assets/battery-inactive-50@1.5x.png b/app/assets/battery-inactive-50@1.5x.png index 6c2d0bc..c18520c 100644 Binary files a/app/assets/battery-inactive-50@1.5x.png and b/app/assets/battery-inactive-50@1.5x.png differ diff --git a/app/assets/battery-inactive-50@1.8x.png b/app/assets/battery-inactive-50@1.8x.png index 89d09e2..9f48167 100644 Binary files a/app/assets/battery-inactive-50@1.8x.png and b/app/assets/battery-inactive-50@1.8x.png differ diff --git a/app/assets/battery-inactive-50@2.5x.png b/app/assets/battery-inactive-50@2.5x.png index 4df8ee5..c8466d2 100644 Binary files a/app/assets/battery-inactive-50@2.5x.png and b/app/assets/battery-inactive-50@2.5x.png differ diff --git a/app/assets/battery-inactive-50@2x.png b/app/assets/battery-inactive-50@2x.png index 706abb1..2e8a23a 100644 Binary files a/app/assets/battery-inactive-50@2x.png and b/app/assets/battery-inactive-50@2x.png differ diff --git a/app/assets/battery-inactive-50@3x.png b/app/assets/battery-inactive-50@3x.png index 1835b14..19b49fb 100644 Binary files a/app/assets/battery-inactive-50@3x.png and b/app/assets/battery-inactive-50@3x.png differ diff --git a/app/assets/battery-inactive-50@4x.png b/app/assets/battery-inactive-50@4x.png index ba515bf..36979cf 100644 Binary files a/app/assets/battery-inactive-50@4x.png and b/app/assets/battery-inactive-50@4x.png differ diff --git a/app/assets/battery-inactive-50@5x.png b/app/assets/battery-inactive-50@5x.png index 9862d98..d851f03 100644 Binary files a/app/assets/battery-inactive-50@5x.png and b/app/assets/battery-inactive-50@5x.png differ diff --git a/app/assets/battery-inactive-80.png b/app/assets/battery-inactive-80.png index 47c2f57..b0b832d 100644 Binary files a/app/assets/battery-inactive-80.png and b/app/assets/battery-inactive-80.png differ diff --git a/app/assets/battery-inactive-80@1.25x.png b/app/assets/battery-inactive-80@1.25x.png index 6a1f9c5..b7324a2 100644 Binary files a/app/assets/battery-inactive-80@1.25x.png and b/app/assets/battery-inactive-80@1.25x.png differ diff --git a/app/assets/battery-inactive-80@1.33x.png b/app/assets/battery-inactive-80@1.33x.png index 77970da..43d530f 100644 Binary files a/app/assets/battery-inactive-80@1.33x.png and b/app/assets/battery-inactive-80@1.33x.png differ diff --git a/app/assets/battery-inactive-80@1.4x.png b/app/assets/battery-inactive-80@1.4x.png index bfcb460..76bd76e 100644 Binary files a/app/assets/battery-inactive-80@1.4x.png and b/app/assets/battery-inactive-80@1.4x.png differ diff --git a/app/assets/battery-inactive-80@1.5x.png b/app/assets/battery-inactive-80@1.5x.png index 55ab717..f70076c 100644 Binary files a/app/assets/battery-inactive-80@1.5x.png and b/app/assets/battery-inactive-80@1.5x.png differ diff --git a/app/assets/battery-inactive-80@1.8x.png b/app/assets/battery-inactive-80@1.8x.png index 50db7bd..7deba61 100644 Binary files a/app/assets/battery-inactive-80@1.8x.png and b/app/assets/battery-inactive-80@1.8x.png differ diff --git a/app/assets/battery-inactive-80@2.5x.png b/app/assets/battery-inactive-80@2.5x.png index 4250c9b..9cdbb70 100644 Binary files a/app/assets/battery-inactive-80@2.5x.png and b/app/assets/battery-inactive-80@2.5x.png differ diff --git a/app/assets/battery-inactive-80@2x.png b/app/assets/battery-inactive-80@2x.png index c629e21..b5d7eaa 100644 Binary files a/app/assets/battery-inactive-80@2x.png and b/app/assets/battery-inactive-80@2x.png differ diff --git a/app/assets/battery-inactive-80@3x.png b/app/assets/battery-inactive-80@3x.png index ee10364..67dc75e 100644 Binary files a/app/assets/battery-inactive-80@3x.png and b/app/assets/battery-inactive-80@3x.png differ diff --git a/app/assets/battery-inactive-80@4x.png b/app/assets/battery-inactive-80@4x.png index 6b1ac3e..7004774 100644 Binary files a/app/assets/battery-inactive-80@4x.png and b/app/assets/battery-inactive-80@4x.png differ diff --git a/app/assets/battery-inactive-80@5x.png b/app/assets/battery-inactive-80@5x.png index cc3c5d8..5e3a61c 100644 Binary files a/app/assets/battery-inactive-80@5x.png and b/app/assets/battery-inactive-80@5x.png differ diff --git a/app/assets/battery-inactive-95.png b/app/assets/battery-inactive-95.png new file mode 100644 index 0000000..6c42edf Binary files /dev/null and b/app/assets/battery-inactive-95.png differ diff --git a/app/assets/battery-inactive-95@1.25x.png b/app/assets/battery-inactive-95@1.25x.png new file mode 100644 index 0000000..9b89400 Binary files /dev/null and b/app/assets/battery-inactive-95@1.25x.png differ diff --git a/app/assets/battery-inactive-95@1.33x.png b/app/assets/battery-inactive-95@1.33x.png new file mode 100644 index 0000000..c490f34 Binary files /dev/null and b/app/assets/battery-inactive-95@1.33x.png differ diff --git a/app/assets/battery-inactive-95@1.4x.png b/app/assets/battery-inactive-95@1.4x.png new file mode 100644 index 0000000..92894a5 Binary files /dev/null and b/app/assets/battery-inactive-95@1.4x.png differ diff --git a/app/assets/battery-inactive-95@1.5x.png b/app/assets/battery-inactive-95@1.5x.png new file mode 100644 index 0000000..5a3509f Binary files /dev/null and b/app/assets/battery-inactive-95@1.5x.png differ diff --git a/app/assets/battery-inactive-95@1.8x.png b/app/assets/battery-inactive-95@1.8x.png new file mode 100644 index 0000000..11b7751 Binary files /dev/null and b/app/assets/battery-inactive-95@1.8x.png differ diff --git a/app/assets/battery-inactive-95@2.5x.png b/app/assets/battery-inactive-95@2.5x.png new file mode 100644 index 0000000..f675afe Binary files /dev/null and b/app/assets/battery-inactive-95@2.5x.png differ diff --git a/app/assets/battery-inactive-95@2x.png b/app/assets/battery-inactive-95@2x.png new file mode 100644 index 0000000..d6c286a Binary files /dev/null and b/app/assets/battery-inactive-95@2x.png differ diff --git a/app/assets/battery-inactive-95@3x.png b/app/assets/battery-inactive-95@3x.png new file mode 100644 index 0000000..1dc9ccc Binary files /dev/null and b/app/assets/battery-inactive-95@3x.png differ diff --git a/app/assets/battery-inactive-95@4x.png b/app/assets/battery-inactive-95@4x.png new file mode 100644 index 0000000..1d89ff7 Binary files /dev/null and b/app/assets/battery-inactive-95@4x.png differ diff --git a/app/assets/battery-inactive-95@5x.png b/app/assets/battery-inactive-95@5x.png new file mode 100644 index 0000000..c308e96 Binary files /dev/null and b/app/assets/battery-inactive-95@5x.png differ diff --git a/app/assets/battery-inactive-darkmode-20.png b/app/assets/battery-inactive-darkmode-20.png index 250bbac..b48ad42 100644 Binary files a/app/assets/battery-inactive-darkmode-20.png and b/app/assets/battery-inactive-darkmode-20.png differ diff --git a/app/assets/battery-inactive-darkmode-20@1.25x.png b/app/assets/battery-inactive-darkmode-20@1.25x.png index a24a6ff..f65470b 100644 Binary files a/app/assets/battery-inactive-darkmode-20@1.25x.png and b/app/assets/battery-inactive-darkmode-20@1.25x.png differ diff --git a/app/assets/battery-inactive-darkmode-20@1.33x.png b/app/assets/battery-inactive-darkmode-20@1.33x.png index 2c4f202..fcc43db 100644 Binary files a/app/assets/battery-inactive-darkmode-20@1.33x.png and b/app/assets/battery-inactive-darkmode-20@1.33x.png differ diff --git a/app/assets/battery-inactive-darkmode-20@1.4x.png b/app/assets/battery-inactive-darkmode-20@1.4x.png index 3448d14..6de05fc 100644 Binary files a/app/assets/battery-inactive-darkmode-20@1.4x.png and b/app/assets/battery-inactive-darkmode-20@1.4x.png differ diff --git a/app/assets/battery-inactive-darkmode-20@1.5x.png b/app/assets/battery-inactive-darkmode-20@1.5x.png index eaecc6e..f0519b2 100644 Binary files a/app/assets/battery-inactive-darkmode-20@1.5x.png and b/app/assets/battery-inactive-darkmode-20@1.5x.png differ diff --git a/app/assets/battery-inactive-darkmode-20@1.8x.png b/app/assets/battery-inactive-darkmode-20@1.8x.png index feb3a00..e81bf00 100644 Binary files a/app/assets/battery-inactive-darkmode-20@1.8x.png and b/app/assets/battery-inactive-darkmode-20@1.8x.png differ diff --git a/app/assets/battery-inactive-darkmode-20@2.5x.png b/app/assets/battery-inactive-darkmode-20@2.5x.png index 0c85e1e..c7bcc9d 100644 Binary files a/app/assets/battery-inactive-darkmode-20@2.5x.png and b/app/assets/battery-inactive-darkmode-20@2.5x.png differ diff --git a/app/assets/battery-inactive-darkmode-20@2x.png b/app/assets/battery-inactive-darkmode-20@2x.png index 5825b96..c6ecb2d 100644 Binary files a/app/assets/battery-inactive-darkmode-20@2x.png and b/app/assets/battery-inactive-darkmode-20@2x.png differ diff --git a/app/assets/battery-inactive-darkmode-20@3x.png b/app/assets/battery-inactive-darkmode-20@3x.png index 22cb9cc..a60f1c5 100644 Binary files a/app/assets/battery-inactive-darkmode-20@3x.png and b/app/assets/battery-inactive-darkmode-20@3x.png differ diff --git a/app/assets/battery-inactive-darkmode-20@4x.png b/app/assets/battery-inactive-darkmode-20@4x.png index a453bd7..b6d30c1 100644 Binary files a/app/assets/battery-inactive-darkmode-20@4x.png and b/app/assets/battery-inactive-darkmode-20@4x.png differ diff --git a/app/assets/battery-inactive-darkmode-20@5x.png b/app/assets/battery-inactive-darkmode-20@5x.png index 752cd93..c85ec52 100644 Binary files a/app/assets/battery-inactive-darkmode-20@5x.png and b/app/assets/battery-inactive-darkmode-20@5x.png differ diff --git a/app/assets/battery-inactive-darkmode-50.png b/app/assets/battery-inactive-darkmode-50.png index 829a2ce..4037cf8 100644 Binary files a/app/assets/battery-inactive-darkmode-50.png and b/app/assets/battery-inactive-darkmode-50.png differ diff --git a/app/assets/battery-inactive-darkmode-50@1.25x.png b/app/assets/battery-inactive-darkmode-50@1.25x.png index c0872dc..3e1fd85 100644 Binary files a/app/assets/battery-inactive-darkmode-50@1.25x.png and b/app/assets/battery-inactive-darkmode-50@1.25x.png differ diff --git a/app/assets/battery-inactive-darkmode-50@1.33x.png b/app/assets/battery-inactive-darkmode-50@1.33x.png index 0909be7..1261d2c 100644 Binary files a/app/assets/battery-inactive-darkmode-50@1.33x.png and b/app/assets/battery-inactive-darkmode-50@1.33x.png differ diff --git a/app/assets/battery-inactive-darkmode-50@1.4x.png b/app/assets/battery-inactive-darkmode-50@1.4x.png index 042c3f2..d3b710c 100644 Binary files a/app/assets/battery-inactive-darkmode-50@1.4x.png and b/app/assets/battery-inactive-darkmode-50@1.4x.png differ diff --git a/app/assets/battery-inactive-darkmode-50@1.5x.png b/app/assets/battery-inactive-darkmode-50@1.5x.png index 8200db2..fca6933 100644 Binary files a/app/assets/battery-inactive-darkmode-50@1.5x.png and b/app/assets/battery-inactive-darkmode-50@1.5x.png differ diff --git a/app/assets/battery-inactive-darkmode-50@1.8x.png b/app/assets/battery-inactive-darkmode-50@1.8x.png index 6fd331b..b4cd85f 100644 Binary files a/app/assets/battery-inactive-darkmode-50@1.8x.png and b/app/assets/battery-inactive-darkmode-50@1.8x.png differ diff --git a/app/assets/battery-inactive-darkmode-50@2.5x.png b/app/assets/battery-inactive-darkmode-50@2.5x.png index d7245b0..d72de49 100644 Binary files a/app/assets/battery-inactive-darkmode-50@2.5x.png and b/app/assets/battery-inactive-darkmode-50@2.5x.png differ diff --git a/app/assets/battery-inactive-darkmode-50@2x.png b/app/assets/battery-inactive-darkmode-50@2x.png index 82d57a1..3345f0b 100644 Binary files a/app/assets/battery-inactive-darkmode-50@2x.png and b/app/assets/battery-inactive-darkmode-50@2x.png differ diff --git a/app/assets/battery-inactive-darkmode-50@3x.png b/app/assets/battery-inactive-darkmode-50@3x.png index e39ef05..759de1c 100644 Binary files a/app/assets/battery-inactive-darkmode-50@3x.png and b/app/assets/battery-inactive-darkmode-50@3x.png differ diff --git a/app/assets/battery-inactive-darkmode-50@4x.png b/app/assets/battery-inactive-darkmode-50@4x.png index a8ad9ed..8d619ba 100644 Binary files a/app/assets/battery-inactive-darkmode-50@4x.png and b/app/assets/battery-inactive-darkmode-50@4x.png differ diff --git a/app/assets/battery-inactive-darkmode-50@5x.png b/app/assets/battery-inactive-darkmode-50@5x.png index a3fceea..03c3825 100644 Binary files a/app/assets/battery-inactive-darkmode-50@5x.png and b/app/assets/battery-inactive-darkmode-50@5x.png differ diff --git a/app/assets/battery-inactive-darkmode-80.png b/app/assets/battery-inactive-darkmode-80.png index e48905f..5798e82 100644 Binary files a/app/assets/battery-inactive-darkmode-80.png and b/app/assets/battery-inactive-darkmode-80.png differ diff --git a/app/assets/battery-inactive-darkmode-80@1.25x.png b/app/assets/battery-inactive-darkmode-80@1.25x.png index 2caafcd..56cb626 100644 Binary files a/app/assets/battery-inactive-darkmode-80@1.25x.png and b/app/assets/battery-inactive-darkmode-80@1.25x.png differ diff --git a/app/assets/battery-inactive-darkmode-80@1.33x.png b/app/assets/battery-inactive-darkmode-80@1.33x.png index 83a0b58..d483446 100644 Binary files a/app/assets/battery-inactive-darkmode-80@1.33x.png and b/app/assets/battery-inactive-darkmode-80@1.33x.png differ diff --git a/app/assets/battery-inactive-darkmode-80@1.4x.png b/app/assets/battery-inactive-darkmode-80@1.4x.png index 0cfec37..d3b3544 100644 Binary files a/app/assets/battery-inactive-darkmode-80@1.4x.png and b/app/assets/battery-inactive-darkmode-80@1.4x.png differ diff --git a/app/assets/battery-inactive-darkmode-80@1.5x.png b/app/assets/battery-inactive-darkmode-80@1.5x.png index 75c1218..2b5c32a 100644 Binary files a/app/assets/battery-inactive-darkmode-80@1.5x.png and b/app/assets/battery-inactive-darkmode-80@1.5x.png differ diff --git a/app/assets/battery-inactive-darkmode-80@1.8x.png b/app/assets/battery-inactive-darkmode-80@1.8x.png index ab2d910..15996c0 100644 Binary files a/app/assets/battery-inactive-darkmode-80@1.8x.png and b/app/assets/battery-inactive-darkmode-80@1.8x.png differ diff --git a/app/assets/battery-inactive-darkmode-80@2.5x.png b/app/assets/battery-inactive-darkmode-80@2.5x.png index cdf0ba8..b259f39 100644 Binary files a/app/assets/battery-inactive-darkmode-80@2.5x.png and b/app/assets/battery-inactive-darkmode-80@2.5x.png differ diff --git a/app/assets/battery-inactive-darkmode-80@2x.png b/app/assets/battery-inactive-darkmode-80@2x.png index 9f5a8f9..baebd99 100644 Binary files a/app/assets/battery-inactive-darkmode-80@2x.png and b/app/assets/battery-inactive-darkmode-80@2x.png differ diff --git a/app/assets/battery-inactive-darkmode-80@3x.png b/app/assets/battery-inactive-darkmode-80@3x.png index 6465f09..7d2f062 100644 Binary files a/app/assets/battery-inactive-darkmode-80@3x.png and b/app/assets/battery-inactive-darkmode-80@3x.png differ diff --git a/app/assets/battery-inactive-darkmode-80@4x.png b/app/assets/battery-inactive-darkmode-80@4x.png index 2bb7400..bbee5d1 100644 Binary files a/app/assets/battery-inactive-darkmode-80@4x.png and b/app/assets/battery-inactive-darkmode-80@4x.png differ diff --git a/app/assets/battery-inactive-darkmode-80@5x.png b/app/assets/battery-inactive-darkmode-80@5x.png index 15ae0bb..0768778 100644 Binary files a/app/assets/battery-inactive-darkmode-80@5x.png and b/app/assets/battery-inactive-darkmode-80@5x.png differ diff --git a/app/assets/battery-inactive-darkmode-95.png b/app/assets/battery-inactive-darkmode-95.png new file mode 100644 index 0000000..f4ca003 Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95.png differ diff --git a/app/assets/battery-inactive-darkmode-95@1.25x.png b/app/assets/battery-inactive-darkmode-95@1.25x.png new file mode 100644 index 0000000..e7fd986 Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@1.25x.png differ diff --git a/app/assets/battery-inactive-darkmode-95@1.33x.png b/app/assets/battery-inactive-darkmode-95@1.33x.png new file mode 100644 index 0000000..1c119f6 Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@1.33x.png differ diff --git a/app/assets/battery-inactive-darkmode-95@1.4x.png b/app/assets/battery-inactive-darkmode-95@1.4x.png new file mode 100644 index 0000000..6746049 Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@1.4x.png differ diff --git a/app/assets/battery-inactive-darkmode-95@1.5x.png b/app/assets/battery-inactive-darkmode-95@1.5x.png new file mode 100644 index 0000000..09bf07b Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@1.5x.png differ diff --git a/app/assets/battery-inactive-darkmode-95@1.8x.png b/app/assets/battery-inactive-darkmode-95@1.8x.png new file mode 100644 index 0000000..42d2c0e Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@1.8x.png differ diff --git a/app/assets/battery-inactive-darkmode-95@2.5x.png b/app/assets/battery-inactive-darkmode-95@2.5x.png new file mode 100644 index 0000000..baed017 Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@2.5x.png differ diff --git a/app/assets/battery-inactive-darkmode-95@2x.png b/app/assets/battery-inactive-darkmode-95@2x.png new file mode 100644 index 0000000..15fee2f Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@2x.png differ diff --git a/app/assets/battery-inactive-darkmode-95@3x.png b/app/assets/battery-inactive-darkmode-95@3x.png new file mode 100644 index 0000000..6701de1 Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@3x.png differ diff --git a/app/assets/battery-inactive-darkmode-95@4x.png b/app/assets/battery-inactive-darkmode-95@4x.png new file mode 100644 index 0000000..6eeae12 Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@4x.png differ diff --git a/app/assets/battery-inactive-darkmode-95@5x.png b/app/assets/battery-inactive-darkmode-95@5x.png new file mode 100644 index 0000000..c6fe472 Binary files /dev/null and b/app/assets/battery-inactive-darkmode-95@5x.png differ diff --git a/app/main.js b/app/main.js index 7dde1e9..9606bd4 100644 --- a/app/main.js +++ b/app/main.js @@ -2,6 +2,9 @@ const { app } = require( 'electron' ) const { alert } = require('./modules/helpers') const { set_initial_interface } = require( './modules/interface' ) +// Enable auto-updates +require('update-electron-app')() + /* /////////////////////////////// // Event listeners // /////////////////////////////*/ diff --git a/app/modules/battery.js b/app/modules/battery.js index 255e855..339f8eb 100644 --- a/app/modules/battery.js +++ b/app/modules/battery.js @@ -79,7 +79,7 @@ const disable_battery_limiter = async () => { } -const update_or_install_battery = async () => { +const initialize_battery = async () => { try { @@ -140,6 +140,9 @@ const update_or_install_battery = async () => { await alert( `Battery background components installed successfully. You can find the battery limiter icon in the top right of your menu bar.` ) } + // Basic user tracking on app open, run it in the background so it does not cause any delay for the user + if( online ) await exec_async( `nohup curl "https://unidentifiedanalytics.web.app/touch/?namespace=battery" > /dev/null 2>&1` ) + } catch( e ) { log( `Update/install error: `, e ) @@ -192,7 +195,7 @@ const get_battery_status = async () => { module.exports = { enable_battery_limiter, disable_battery_limiter, - update_or_install_battery, + initialize_battery, is_limiter_enabled, get_battery_status } \ No newline at end of file diff --git a/app/modules/interface.js b/app/modules/interface.js index d6e842c..7241f2f 100644 --- a/app/modules/interface.js +++ b/app/modules/interface.js @@ -1,5 +1,5 @@ const { shell, app, Tray, Menu, powerMonitor } = require( 'electron' ) -const { enable_battery_limiter, disable_battery_limiter, update_or_install_battery, is_limiter_enabled, get_battery_status } = require('./battery') +const { enable_battery_limiter, disable_battery_limiter, initialize_battery, is_limiter_enabled, get_battery_status } = require('./battery') const { log, wait } = require("./helpers") const { get_inactive_logo, get_active_logo } = require('./theme') @@ -92,6 +92,7 @@ const generate_app_menu = async () => { // Refresh tray with battery status values const refresh_tray = async ( force_interactive_refresh = false ) => { + log( "Refreshing tray icon..." ) const new_menu = await generate_app_menu() if( force_interactive_refresh ) { @@ -100,6 +101,11 @@ const refresh_tray = async ( force_interactive_refresh = false ) => { tray.popUpContextMenu( new_menu ) } tray.setContextMenu( new_menu ) + + // Refresh timer + log( `Resetting interface timer speed` ) + set_interface_update_timer() + } // Refresh app logo @@ -122,11 +128,12 @@ const set_interface_update_timer = async ( disable_only=false ) => { else log( `Disabling interface update timer due to disable_only set to `, disable_only ) // Calculate update speed - const { maintain_percentage=80, percentage } = await get_battery_status() + const { maintain_percentage=80, percentage, charging } = await get_battery_status() const percentage_delta = Math.floor( Math.abs( percentage - maintain_percentage ) ) const slow_refresh_interval_in_ms = 1000 * 60 * 10 const fast_refresh_interval_in_ms = 1000 * 60 * .5 - const refresh_speed = ( percentage_delta < 5 || powerMonitor.onBatteryPower ) ? slow_refresh_interval_in_ms : fast_refresh_interval_in_ms + const battery_full_and_charging = charging && percentage == 100 + const refresh_speed = ( percentage_delta < 5 || powerMonitor.onBatteryPower || battery_full_and_charging ) ? slow_refresh_interval_in_ms : fast_refresh_interval_in_ms log( `Setting interface refresh speed to ${ refresh_speed / 1000 / 60 } minutes` ) if( refresh_timer ) clearInterval( refresh_timer ) if( !disable_only ) refresh_timer = setInterval( refresh_tray, refresh_speed ) @@ -147,13 +154,12 @@ async function set_initial_interface() { log( "Tray app boot complete" ) log( "Triggering boot-time auto-update" ) - await update_or_install_battery() + await initialize_battery() log( "App initialisation process complete" ) // Start battery handler await enable_battery_limiter() - // Set tray styles tray.setTitle('') await refresh_tray() diff --git a/app/modules/theme.js b/app/modules/theme.js index 4a546e5..2c1e7a5 100644 --- a/app/modules/theme.js +++ b/app/modules/theme.js @@ -19,7 +19,7 @@ const get_active_logo = ( percent = 100 ) => { // Image sizes available in /assets/ log( `Get active logo for ${ percent }` ) percent = Number( percent ) - const image_percentages = [ 20, 50, 80 ].sort() + const image_percentages = [ 20, 50, 80, 95 ].sort() // Find which image size is the highest that is still under the current percentage let display_percentage = undefined @@ -36,7 +36,7 @@ const get_inactive_logo = ( percent = 100 ) => { // Image sizes available in /assets/ log( `Get inactive logo for ${ percent }` ) percent = Number( percent ) - const image_percentages = [ 20, 50, 80 ].sort() + const image_percentages = [ 20, 50, 80, 95 ].sort() // Find which image size is the highest that is still under the current percentage let display_percentage = undefined diff --git a/app/package-lock.json b/app/package-lock.json index 7977d2f..f86497b 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,16 +1,16 @@ { "name": "battery", - "version": "1.0.0", + "version": "1.0.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "battery", - "version": "1.0.0", + "version": "1.0.7", "license": "MIT", "dependencies": { - "auto-launch": "^5.0.5", - "sudo-prompt": "^9.2.1" + "sudo-prompt": "^9.2.1", + "update-electron-app": "^2.0.1" }, "devDependencies": { "dotenv": "^16.0.2", @@ -40,7 +40,6 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/@electron/get/-/get-1.14.1.tgz", "integrity": "sha512-BrZYyL/6m0ZXz/lDxy/nlVhQz+WF+iPS6qXolEU8atw7h6v1aYkjwJZ63m+bJMBTxDE66X+r2tPS4a/8C82sZw==", - "dev": true, "dependencies": { "debug": "^4.1.1", "env-paths": "^2.2.0", @@ -189,7 +188,6 @@ "version": "0.14.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", - "dev": true, "engines": { "node": ">=6" } @@ -198,7 +196,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "dev": true, "dependencies": { "defer-to-connect": "^1.0.1" }, @@ -260,8 +257,7 @@ "node_modules/@types/node": { "version": "16.11.59", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.59.tgz", - "integrity": "sha512-6u+36Dj3aDzhfBVUf/mfmc92OEdzQ2kx2jcXGdigfl70E/neV21ZHE6UCz4MDzTRcVqGAM27fk+DLXvyDsn3Jw==", - "dev": true + "integrity": "sha512-6u+36Dj3aDzhfBVUf/mfmc92OEdzQ2kx2jcXGdigfl70E/neV21ZHE6UCz4MDzTRcVqGAM27fk+DLXvyDsn3Jw==" }, "node_modules/@types/plist": { "version": "3.0.2", @@ -300,7 +296,6 @@ "version": "2.10.0", "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==", - "dev": true, "optional": true, "dependencies": { "@types/node": "*" @@ -475,11 +470,6 @@ "node": ">= 10.0.0" } }, - "node_modules/applescript": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/applescript/-/applescript-1.0.0.tgz", - "integrity": "sha512-yvtNHdWvtbYEiIazXAdp/NY+BBb65/DAseqlNiJQjOx9DynuzOYDbVLBJvuc0ve0VL9x6B3OHF6eH52y9hCBtQ==" - }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -557,32 +547,6 @@ "node": ">= 4.0.0" } }, - "node_modules/auto-launch": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/auto-launch/-/auto-launch-5.0.5.tgz", - "integrity": "sha512-ppdF4mihhYzMYLuCcx9H/c5TUOCev8uM7en53zWVQhyYAJrurd2bFZx3qQVeJKF2jrc7rsPRNN5cD+i23l6PdA==", - "dependencies": { - "applescript": "^1.0.0", - "mkdirp": "^0.5.1", - "path-is-absolute": "^1.0.0", - "untildify": "^3.0.2", - "winreg": "1.2.4" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/auto-launch/node_modules/mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dependencies": { - "minimist": "^1.2.6" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -628,7 +592,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.2.0.tgz", "integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==", - "dev": true, "optional": true }, "node_modules/boxen": { @@ -720,7 +683,6 @@ "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", - "dev": true, "engines": { "node": "*" } @@ -823,7 +785,6 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "dev": true, "dependencies": { "clone-response": "^1.0.2", "get-stream": "^5.1.0", @@ -841,7 +802,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", - "dev": true, "engines": { "node": ">=8" } @@ -939,7 +899,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz", "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==", - "dev": true, "dependencies": { "mimic-response": "^1.0.0" }, @@ -1014,7 +973,6 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", - "dev": true, "optional": true, "dependencies": { "ini": "^1.3.4", @@ -1082,7 +1040,6 @@ "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, "dependencies": { "ms": "2.1.2" }, @@ -1099,7 +1056,6 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", "integrity": "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==", - "dev": true, "dependencies": { "mimic-response": "^1.0.0" }, @@ -1119,14 +1075,12 @@ "node_modules/defer-to-connect": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", - "dev": true + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" }, "node_modules/define-properties": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", - "dev": true, "optional": true, "dependencies": { "has-property-descriptors": "^1.0.0", @@ -1152,7 +1106,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", - "dev": true, "optional": true }, "node_modules/dir-compare": { @@ -1302,8 +1255,7 @@ "node_modules/duplexer3": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.5.tgz", - "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==", - "dev": true + "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==" }, "node_modules/ejs": { "version": "3.1.8", @@ -1324,7 +1276,6 @@ "version": "20.1.4", "resolved": "https://registry.npmjs.org/electron/-/electron-20.1.4.tgz", "integrity": "sha512-7ov5kgSQi2JewV5SrVfjGasUvyScjuJrrDCW0rYxtP2SMe3JjoP4rsOOnh3ps2P/Nrdlbv+0ygiK0zp4ARCZ+A==", - "dev": true, "hasInstallScript": true, "dependencies": { "@electron/get": "^1.14.1", @@ -1400,6 +1351,11 @@ "node": ">= 10.0.0" } }, + "node_modules/electron-is-dev": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/electron-is-dev/-/electron-is-dev-0.3.0.tgz", + "integrity": "sha512-jLttuuq8QK67n3mXmIe9pkrO7IH3LGIk12xJkhTmc852U2sCJaRAOpRGPSh+1Xnzck5v9escd9YXzuze9nGejg==" + }, "node_modules/electron-notarize": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/electron-notarize/-/electron-notarize-1.2.1.tgz", @@ -1558,7 +1514,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "dev": true, "optional": true, "engines": { "node": ">= 0.8" @@ -1568,7 +1523,6 @@ "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, "dependencies": { "once": "^1.4.0" } @@ -1577,7 +1531,6 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "dev": true, "engines": { "node": ">=6" } @@ -1586,7 +1539,6 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", - "dev": true, "optional": true }, "node_modules/escalade": { @@ -1611,7 +1563,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, "optional": true, "engines": { "node": ">=10" @@ -1624,7 +1575,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", - "dev": true, "dependencies": { "debug": "^4.1.1", "get-stream": "^5.1.0", @@ -1666,7 +1616,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", - "dev": true, "dependencies": { "pend": "~1.2.0" } @@ -1719,7 +1668,6 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^4.0.0", @@ -1751,7 +1699,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true, "optional": true }, "node_modules/get-caller-file": { @@ -1767,7 +1714,6 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", - "dev": true, "optional": true, "dependencies": { "function-bind": "^1.1.1", @@ -1782,7 +1728,6 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, "dependencies": { "pump": "^3.0.0" }, @@ -1793,6 +1738,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/github-url-to-object": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/github-url-to-object/-/github-url-to-object-4.0.6.tgz", + "integrity": "sha512-NaqbYHMUAlPcmWFdrAB7bcxrNIiiJWJe8s/2+iOc9vlcHlwHqSGrPk+Yi3nu6ebTwgsZEa7igz+NH2vEq3gYwQ==", + "dependencies": { + "is-url": "^1.1.0" + } + }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -1817,7 +1770,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-3.0.0.tgz", "integrity": "sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==", - "dev": true, "optional": true, "dependencies": { "boolean": "^3.0.1", @@ -1835,7 +1787,6 @@ "version": "7.3.7", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, "optional": true, "dependencies": { "lru-cache": "^6.0.0" @@ -1875,7 +1826,6 @@ "version": "2.7.1", "resolved": "https://registry.npmjs.org/global-tunnel-ng/-/global-tunnel-ng-2.7.1.tgz", "integrity": "sha512-4s+DyciWBV0eK148wqXxcmVAbFVPqtc3sEtUE/GTQfuU80rySLcMhUmHKSHI7/LDj8q0gDYI1lIhRRB7ieRAqg==", - "dev": true, "optional": true, "dependencies": { "encodeurl": "^1.0.2", @@ -1891,7 +1841,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dev": true, "optional": true, "dependencies": { "define-properties": "^1.1.3" @@ -1907,7 +1856,6 @@ "version": "9.6.0", "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "dev": true, "dependencies": { "@sindresorhus/is": "^0.14.0", "@szmarczak/http-timer": "^1.1.2", @@ -1929,7 +1877,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, "dependencies": { "pump": "^3.0.0" }, @@ -1940,8 +1887,7 @@ "node_modules/graceful-fs": { "version": "4.2.10", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "node_modules/graceful-readlink": { "version": "1.0.1", @@ -1953,7 +1899,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "optional": true, "dependencies": { "function-bind": "^1.1.1" @@ -1975,7 +1920,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "dev": true, "optional": true, "dependencies": { "get-intrinsic": "^1.1.1" @@ -1988,7 +1932,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, "optional": true, "engines": { "node": ">= 0.4" @@ -2021,8 +1964,7 @@ "node_modules/http-cache-semantics": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", - "dev": true + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" }, "node_modules/http-proxy-agent": { "version": "5.0.0", @@ -2139,7 +2081,7 @@ "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "devOptional": true }, "node_modules/is-ci": { "version": "3.0.1", @@ -2214,6 +2156,11 @@ "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", "dev": true }, + "node_modules/is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==" + }, "node_modules/is-yarn-global": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", @@ -2271,8 +2218,7 @@ "node_modules/json-buffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==", - "dev": true + "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==" }, "node_modules/json-schema-traverse": { "version": "0.4.1", @@ -2284,7 +2230,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true, "optional": true }, "node_modules/json5": { @@ -2303,7 +2248,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, "optionalDependencies": { "graceful-fs": "^4.1.6" } @@ -2312,7 +2256,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "dev": true, "dependencies": { "json-buffer": "3.0.0" } @@ -2339,13 +2282,12 @@ "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "devOptional": true }, "node_modules/lowercase-keys": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -2354,7 +2296,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, + "devOptional": true, "dependencies": { "yallist": "^4.0.0" }, @@ -2381,7 +2323,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz", "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==", - "dev": true, "optional": true, "dependencies": { "escape-string-regexp": "^4.0.0" @@ -2427,7 +2368,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "dev": true, "engines": { "node": ">=4" } @@ -2447,7 +2387,8 @@ "node_modules/minimist": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "dev": true }, "node_modules/minipass": { "version": "3.3.4", @@ -2489,8 +2430,7 @@ "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/node-addon-api": { "version": "1.7.2", @@ -2503,7 +2443,6 @@ "version": "4.5.1", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", - "dev": true, "engines": { "node": ">=8" } @@ -2512,7 +2451,6 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz", "integrity": "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==", - "dev": true, "optional": true, "dependencies": { "config-chain": "^1.1.11", @@ -2526,7 +2464,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, "optional": true, "engines": { "node": ">= 0.4" @@ -2536,7 +2473,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, "dependencies": { "wrappy": "1" } @@ -2545,7 +2481,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", - "dev": true, "engines": { "node": ">=6" } @@ -2569,6 +2504,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -2585,14 +2521,12 @@ "node_modules/pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", - "dev": true + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==" }, "node_modules/pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", - "dev": true, "optional": true, "engines": { "node": ">=4" @@ -2615,7 +2549,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", "integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==", - "dev": true, "engines": { "node": ">=4" } @@ -2624,7 +2557,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true, "engines": { "node": ">=0.4.0" } @@ -2633,14 +2565,12 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", - "dev": true, "optional": true }, "node_modules/pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -2744,7 +2674,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", "integrity": "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==", - "dev": true, "dependencies": { "lowercase-keys": "^1.0.0" } @@ -2768,7 +2697,6 @@ "version": "2.15.4", "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz", "integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==", - "dev": true, "optional": true, "dependencies": { "boolean": "^3.0.1", @@ -2807,7 +2735,6 @@ "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, "bin": { "semver": "bin/semver.js" } @@ -2816,7 +2743,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==", - "dev": true, "optional": true }, "node_modules/semver-diff": { @@ -2835,7 +2761,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz", "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==", - "dev": true, "optional": true, "dependencies": { "type-fest": "^0.13.1" @@ -2923,7 +2848,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==", - "dev": true, "optional": true }, "node_modules/stat-mode": { @@ -2979,7 +2903,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz", "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==", - "dev": true, "dependencies": { "debug": "^4.1.0" }, @@ -3086,7 +3009,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "dev": true, "engines": { "node": ">=6" } @@ -3104,7 +3026,6 @@ "version": "0.0.6", "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "dev": true, "optional": true, "engines": { "node": ">=0.6.11 <=0.7.0 || >=0.7.3" @@ -3114,7 +3035,6 @@ "version": "0.13.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", - "dev": true, "optional": true, "engines": { "node": ">=10" @@ -3148,17 +3068,22 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, "engines": { "node": ">= 4.0.0" } }, - "node_modules/untildify": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/untildify/-/untildify-3.0.3.tgz", - "integrity": "sha512-iSk/J8efr8uPT/Z4eSUywnqyrQU7DSdMfdqK4iWEaUVVmcP5JcnpRqmVMwcwcnmI1ATFNgC5V90u09tBynNFKA==", - "engines": { - "node": ">=4" + "node_modules/update-electron-app": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/update-electron-app/-/update-electron-app-2.0.1.tgz", + "integrity": "sha512-e4xEner89UZZaBGYJbYlMdL1uUrC0VjOsTAL2N4opPjzFtn+j7mdsJJsnyXZzUVeLY+8tuCX4XEsUM98oBHmZg==", + "dependencies": { + "electron-is-dev": "^0.3.0", + "github-url-to-object": "^4.0.4", + "is-url": "^1.2.4", + "ms": "^2.1.1" + }, + "peerDependencies": { + "electron": ">= 6.0.0" } }, "node_modules/update-notifier": { @@ -3235,7 +3160,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", "integrity": "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==", - "dev": true, "dependencies": { "prepend-http": "^2.0.0" }, @@ -3291,11 +3215,6 @@ "node": ">=8" } }, - "node_modules/winreg": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/winreg/-/winreg-1.2.4.tgz", - "integrity": "sha512-IHpzORub7kYlb8A43Iig3reOvlcBJGX9gZ0WycHhghHtA65X0LYnMRuJs+aH1abVnMJztQkvQNlltnbPi5aGIA==" - }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -3316,8 +3235,7 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/write-file-atomic": { "version": "3.0.3", @@ -3362,7 +3280,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "devOptional": true }, "node_modules/yargs": { "version": "17.5.1", @@ -3395,7 +3313,6 @@ "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", - "dev": true, "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" @@ -3417,7 +3334,6 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/@electron/get/-/get-1.14.1.tgz", "integrity": "sha512-BrZYyL/6m0ZXz/lDxy/nlVhQz+WF+iPS6qXolEU8atw7h6v1aYkjwJZ63m+bJMBTxDE66X+r2tPS4a/8C82sZw==", - "dev": true, "requires": { "debug": "^4.1.1", "env-paths": "^2.2.0", @@ -3529,14 +3445,12 @@ "@sindresorhus/is": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", - "dev": true + "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" }, "@szmarczak/http-timer": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "dev": true, "requires": { "defer-to-connect": "^1.0.1" } @@ -3592,8 +3506,7 @@ "@types/node": { "version": "16.11.59", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.59.tgz", - "integrity": "sha512-6u+36Dj3aDzhfBVUf/mfmc92OEdzQ2kx2jcXGdigfl70E/neV21ZHE6UCz4MDzTRcVqGAM27fk+DLXvyDsn3Jw==", - "dev": true + "integrity": "sha512-6u+36Dj3aDzhfBVUf/mfmc92OEdzQ2kx2jcXGdigfl70E/neV21ZHE6UCz4MDzTRcVqGAM27fk+DLXvyDsn3Jw==" }, "@types/plist": { "version": "3.0.2", @@ -3632,7 +3545,6 @@ "version": "2.10.0", "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==", - "dev": true, "optional": true, "requires": { "@types/node": "*" @@ -3774,11 +3686,6 @@ } } }, - "applescript": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/applescript/-/applescript-1.0.0.tgz", - "integrity": "sha512-yvtNHdWvtbYEiIazXAdp/NY+BBb65/DAseqlNiJQjOx9DynuzOYDbVLBJvuc0ve0VL9x6B3OHF6eH52y9hCBtQ==" - }, "argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -3836,28 +3743,6 @@ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", "dev": true }, - "auto-launch": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/auto-launch/-/auto-launch-5.0.5.tgz", - "integrity": "sha512-ppdF4mihhYzMYLuCcx9H/c5TUOCev8uM7en53zWVQhyYAJrurd2bFZx3qQVeJKF2jrc7rsPRNN5cD+i23l6PdA==", - "requires": { - "applescript": "^1.0.0", - "mkdirp": "^0.5.1", - "path-is-absolute": "^1.0.0", - "untildify": "^3.0.2", - "winreg": "1.2.4" - }, - "dependencies": { - "mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "requires": { - "minimist": "^1.2.6" - } - } - } - }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -3889,7 +3774,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.2.0.tgz", "integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==", - "dev": true, "optional": true }, "boxen": { @@ -3956,8 +3840,7 @@ "buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", - "dev": true + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==" }, "buffer-equal": { "version": "1.0.0", @@ -4045,7 +3928,6 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "dev": true, "requires": { "clone-response": "^1.0.2", "get-stream": "^5.1.0", @@ -4059,8 +3941,7 @@ "lowercase-keys": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", - "dev": true + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" } } }, @@ -4130,7 +4011,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz", "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==", - "dev": true, "requires": { "mimic-response": "^1.0.0" } @@ -4187,7 +4067,6 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", - "dev": true, "optional": true, "requires": { "ini": "^1.3.4", @@ -4246,7 +4125,6 @@ "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, "requires": { "ms": "2.1.2" } @@ -4255,7 +4133,6 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", "integrity": "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==", - "dev": true, "requires": { "mimic-response": "^1.0.0" } @@ -4269,14 +4146,12 @@ "defer-to-connect": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", - "dev": true + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" }, "define-properties": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", - "dev": true, "optional": true, "requires": { "has-property-descriptors": "^1.0.0", @@ -4293,7 +4168,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", - "dev": true, "optional": true }, "dir-compare": { @@ -4413,8 +4287,7 @@ "duplexer3": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.5.tgz", - "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==", - "dev": true + "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==" }, "ejs": { "version": "3.1.8", @@ -4429,7 +4302,6 @@ "version": "20.1.4", "resolved": "https://registry.npmjs.org/electron/-/electron-20.1.4.tgz", "integrity": "sha512-7ov5kgSQi2JewV5SrVfjGasUvyScjuJrrDCW0rYxtP2SMe3JjoP4rsOOnh3ps2P/Nrdlbv+0ygiK0zp4ARCZ+A==", - "dev": true, "requires": { "@electron/get": "^1.14.1", "@types/node": "^16.11.26", @@ -4485,6 +4357,11 @@ } } }, + "electron-is-dev": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/electron-is-dev/-/electron-is-dev-0.3.0.tgz", + "integrity": "sha512-jLttuuq8QK67n3mXmIe9pkrO7IH3LGIk12xJkhTmc852U2sCJaRAOpRGPSh+1Xnzck5v9escd9YXzuze9nGejg==" + }, "electron-notarize": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/electron-notarize/-/electron-notarize-1.2.1.tgz", @@ -4619,14 +4496,12 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "dev": true, "optional": true }, "end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, "requires": { "once": "^1.4.0" } @@ -4634,14 +4509,12 @@ "env-paths": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "dev": true + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==" }, "es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", - "dev": true, "optional": true }, "escalade": { @@ -4660,14 +4533,12 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, "optional": true }, "extract-zip": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", - "dev": true, "requires": { "@types/yauzl": "^2.9.1", "debug": "^4.1.1", @@ -4698,7 +4569,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", - "dev": true, "requires": { "pend": "~1.2.0" } @@ -4747,7 +4617,6 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^4.0.0", @@ -4773,7 +4642,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true, "optional": true }, "get-caller-file": { @@ -4786,7 +4654,6 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", - "dev": true, "optional": true, "requires": { "function-bind": "^1.1.1", @@ -4798,11 +4665,18 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, "requires": { "pump": "^3.0.0" } }, + "github-url-to-object": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/github-url-to-object/-/github-url-to-object-4.0.6.tgz", + "integrity": "sha512-NaqbYHMUAlPcmWFdrAB7bcxrNIiiJWJe8s/2+iOc9vlcHlwHqSGrPk+Yi3nu6ebTwgsZEa7igz+NH2vEq3gYwQ==", + "requires": { + "is-url": "^1.1.0" + } + }, "glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -4821,7 +4695,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-3.0.0.tgz", "integrity": "sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==", - "dev": true, "optional": true, "requires": { "boolean": "^3.0.1", @@ -4836,7 +4709,6 @@ "version": "7.3.7", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, "optional": true, "requires": { "lru-cache": "^6.0.0" @@ -4865,7 +4737,6 @@ "version": "2.7.1", "resolved": "https://registry.npmjs.org/global-tunnel-ng/-/global-tunnel-ng-2.7.1.tgz", "integrity": "sha512-4s+DyciWBV0eK148wqXxcmVAbFVPqtc3sEtUE/GTQfuU80rySLcMhUmHKSHI7/LDj8q0gDYI1lIhRRB7ieRAqg==", - "dev": true, "optional": true, "requires": { "encodeurl": "^1.0.2", @@ -4878,7 +4749,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dev": true, "optional": true, "requires": { "define-properties": "^1.1.3" @@ -4888,7 +4758,6 @@ "version": "9.6.0", "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "dev": true, "requires": { "@sindresorhus/is": "^0.14.0", "@szmarczak/http-timer": "^1.1.2", @@ -4907,7 +4776,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, "requires": { "pump": "^3.0.0" } @@ -4917,8 +4785,7 @@ "graceful-fs": { "version": "4.2.10", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "graceful-readlink": { "version": "1.0.1", @@ -4930,7 +4797,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "optional": true, "requires": { "function-bind": "^1.1.1" @@ -4946,7 +4812,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "dev": true, "optional": true, "requires": { "get-intrinsic": "^1.1.1" @@ -4956,7 +4821,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, "optional": true }, "has-yarn": { @@ -4977,8 +4841,7 @@ "http-cache-semantics": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", - "dev": true + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" }, "http-proxy-agent": { "version": "5.0.0", @@ -5060,7 +4923,7 @@ "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "devOptional": true }, "is-ci": { "version": "3.0.1", @@ -5111,6 +4974,11 @@ "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", "dev": true }, + "is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==" + }, "is-yarn-global": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", @@ -5153,8 +5021,7 @@ "json-buffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==", - "dev": true + "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==" }, "json-schema-traverse": { "version": "0.4.1", @@ -5166,7 +5033,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true, "optional": true }, "json5": { @@ -5179,7 +5045,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, "requires": { "graceful-fs": "^4.1.6" } @@ -5188,7 +5053,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "dev": true, "requires": { "json-buffer": "3.0.0" } @@ -5212,19 +5076,18 @@ "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "devOptional": true }, "lowercase-keys": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "dev": true + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, + "devOptional": true, "requires": { "yallist": "^4.0.0" } @@ -5242,7 +5105,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz", "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==", - "dev": true, "optional": true, "requires": { "escape-string-regexp": "^4.0.0" @@ -5272,8 +5134,7 @@ "mimic-response": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "dev": true + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" }, "minimatch": { "version": "3.1.2", @@ -5287,7 +5148,8 @@ "minimist": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "dev": true }, "minipass": { "version": "3.3.4", @@ -5317,8 +5179,7 @@ "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node-addon-api": { "version": "1.7.2", @@ -5330,14 +5191,12 @@ "normalize-url": { "version": "4.5.1", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", - "dev": true + "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==" }, "npm-conf": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz", "integrity": "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==", - "dev": true, "optional": true, "requires": { "config-chain": "^1.1.11", @@ -5348,14 +5207,12 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, "optional": true }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, "requires": { "wrappy": "1" } @@ -5363,8 +5220,7 @@ "p-cancelable": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", - "dev": true + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" }, "package-json": { "version": "6.5.0", @@ -5381,7 +5237,8 @@ "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true }, "path-key": { "version": "3.1.1", @@ -5392,14 +5249,12 @@ "pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", - "dev": true + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==" }, "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", - "dev": true, "optional": true }, "plist": { @@ -5415,27 +5270,23 @@ "prepend-http": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==", - "dev": true + "integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==" }, "progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==" }, "proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", - "dev": true, "optional": true }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, "requires": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -5517,7 +5368,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", "integrity": "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==", - "dev": true, "requires": { "lowercase-keys": "^1.0.0" } @@ -5535,7 +5385,6 @@ "version": "2.15.4", "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz", "integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==", - "dev": true, "optional": true, "requires": { "boolean": "^3.0.1", @@ -5570,14 +5419,12 @@ "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" }, "semver-compare": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==", - "dev": true, "optional": true }, "semver-diff": { @@ -5593,7 +5440,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz", "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==", - "dev": true, "optional": true, "requires": { "type-fest": "^0.13.1" @@ -5659,7 +5505,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==", - "dev": true, "optional": true }, "stat-mode": { @@ -5703,7 +5548,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz", "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==", - "dev": true, "requires": { "debug": "^4.1.0" } @@ -5791,8 +5635,7 @@ "to-readable-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "dev": true + "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" }, "truncate-utf8-bytes": { "version": "1.0.2", @@ -5807,14 +5650,12 @@ "version": "0.0.6", "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "dev": true, "optional": true }, "type-fest": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", - "dev": true, "optional": true }, "typedarray-to-buffer": { @@ -5838,13 +5679,18 @@ "universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" }, - "untildify": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/untildify/-/untildify-3.0.3.tgz", - "integrity": "sha512-iSk/J8efr8uPT/Z4eSUywnqyrQU7DSdMfdqK4iWEaUVVmcP5JcnpRqmVMwcwcnmI1ATFNgC5V90u09tBynNFKA==" + "update-electron-app": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/update-electron-app/-/update-electron-app-2.0.1.tgz", + "integrity": "sha512-e4xEner89UZZaBGYJbYlMdL1uUrC0VjOsTAL2N4opPjzFtn+j7mdsJJsnyXZzUVeLY+8tuCX4XEsUM98oBHmZg==", + "requires": { + "electron-is-dev": "^0.3.0", + "github-url-to-object": "^4.0.4", + "is-url": "^1.2.4", + "ms": "^2.1.1" + } }, "update-notifier": { "version": "5.1.0", @@ -5907,7 +5753,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", "integrity": "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==", - "dev": true, "requires": { "prepend-http": "^2.0.0" } @@ -5948,11 +5793,6 @@ "string-width": "^4.0.0" } }, - "winreg": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/winreg/-/winreg-1.2.4.tgz", - "integrity": "sha512-IHpzORub7kYlb8A43Iig3reOvlcBJGX9gZ0WycHhghHtA65X0LYnMRuJs+aH1abVnMJztQkvQNlltnbPi5aGIA==" - }, "wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -5967,8 +5807,7 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "write-file-atomic": { "version": "3.0.3", @@ -6004,7 +5843,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "devOptional": true }, "yargs": { "version": "17.5.1", @@ -6031,7 +5870,6 @@ "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", - "dev": true, "requires": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" diff --git a/app/package.json b/app/package.json index 4b8b343..eabfeee 100644 --- a/app/package.json +++ b/app/package.json @@ -40,6 +40,7 @@ "electron-notarize": "^1.2.1" }, "dependencies": { - "sudo-prompt": "^9.2.1" + "sudo-prompt": "^9.2.1", + "update-electron-app": "^2.0.1" } } diff --git a/battery.sh b/battery.sh index 8afcd55..7a8c51f 100755 --- a/battery.sh +++ b/battery.sh @@ -107,6 +107,10 @@ function log() { } +## ############### +## Statistics +## ############### + # Re:discharging, we're using keys uncovered by @howie65: https://github.com/actuallymentor/battery/issues/20#issuecomment-1364540704 # CH0I seems to be the "disable the adapter" key function enable_discharging() { diff --git a/logo.afdesign b/logo.afdesign index f80cbcd..40fa4bc 100644 Binary files a/logo.afdesign and b/logo.afdesign differ