Skip to content

Commit

Permalink
馃悰 add redundant homebrew paths
Browse files Browse the repository at this point in the history
  • Loading branch information
actuallymentor committed Jan 17, 2024
1 parent cc936c7 commit 0c48dc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/modules/battery.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions battery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c48dc0

Please sign in to comment.