mirror of
https://github.com/actuallymentor/battery.git
synced 2026-02-03 14:03:24 +00:00
✨ Simplify setup
This commit is contained in:
@@ -17,7 +17,7 @@ After running `battery charging on` you will see it change to this:
|
||||
One-line installation:
|
||||
|
||||
```bash
|
||||
curl https://raw.githubusercontent.com/actuallymentor/battery/main/setup.sh | sudo bash
|
||||
curl https://raw.githubusercontent.com/actuallymentor/battery/main/setup.sh | bash
|
||||
````
|
||||
|
||||
This will:
|
||||
|
||||
6
setup.sh
6
setup.sh
@@ -1,5 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# User welcome message
|
||||
echo -e '\n👋 Welcome, this is the setup script for the battery CLI tool.'
|
||||
echo -e "Note: this sccript will ask for your password once or multiple times. This is needed install battery to your system."
|
||||
echo -e "\nPress any key to continue\n"
|
||||
read
|
||||
|
||||
# Get smc source and build it
|
||||
tempfolder=~/.battery-tmp
|
||||
binfolder=/usr/local/bin
|
||||
|
||||
Reference in New Issue
Block a user