From 0c48dc054338257ffaf4087f0e61e2ab1a2037f6 Mon Sep 17 00:00:00 2001 From: Mentor Date: Wed, 17 Jan 2024 12:09:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20add=20redundant=20homebrew=20pat?= =?UTF-8?q?hs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/battery.js | 2 +- battery.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/modules/battery.js b/app/modules/battery.js index ce1a217..a03dcf8 100644 --- a/app/modules/battery.js +++ b/app/modules/battery.js @@ -4,7 +4,7 @@ const { exec } = require( 'node:child_process' ) const { log, alert, wait, confirm } = require( './helpers' ) const { get_force_discharge_setting } = require( './settings' ) const { USER } = process.env -const path_fix = 'PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/homebrew/bin' +const path_fix = 'PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/homebrew' const battery = `${ path_fix } battery` const shell_options = { shell: '/bin/bash', diff --git a/battery.sh b/battery.sh index 4be764d..e4bdea6 100755 --- a/battery.sh +++ b/battery.sh @@ -4,10 +4,10 @@ ## Update management ## variables are used by this binary as well at the update script ## ############### -BATTERY_CLI_VERSION="v1.1.5" +BATTERY_CLI_VERSION="v1.1.6" # Path fixes for unexpected environments -PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/homebrew/bin +PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/homebrew ## ############### ## Variables