🐛 add redundant homebrew paths

This commit is contained in:
Mentor
2024-01-17 12:09:30 +01:00
parent cc936c71e9
commit 0c48dc0543
2 changed files with 3 additions and 3 deletions

View File

@@ -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',

View File

@@ -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