215 Commits

Author SHA1 Message Date
Mentor
8a95fb6c86 🔼 increment cli version after pull requests v1.1.6 2023-08-20 14:09:44 +02:00
Mentor Palokaj
293110357f Merge pull request #167 from landabaso/main
Remove the visudo file when uninstalling
2023-08-20 14:08:54 +02:00
Mentor Palokaj
f155695d4c Merge branch 'main' into main 2023-08-20 14:08:47 +02:00
Mentor Palokaj
48654376ea Merge pull request #166 from olivierbnt/CLI-GUI-compatibility
CLI GUI compatibility
2023-08-20 14:07:27 +02:00
Mentor Palokaj
db8dbf89bd Merge pull request #153 from evolutionxbox/main
Use https in network checks. Thanks @evolutionxbox!
2023-08-20 14:05:50 +02:00
José Luis Landabaso Díaz
5aa755ae0b Remove the visudo file when uninstalling 2023-08-16 18:29:22 +02:00
Olivierbnt
0a5cdd8398 Fix for issue #149: Delete configfolder upon uninstall. 2023-08-16 09:57:10 -06:00
Olivierbnt
1b87958d05 Fix for issue #149: Persist percentage setting upon GUI reboot.
-
Problem: On launch of GUI, the maintain.percentage file is deleted, causing the GUI to recreate the file with default value of 80.
-
Solution: In battery.sh, if "$setting" == "stop", file maintain.percentage should not be deleted to keep persistence of any previous setting.
2023-08-16 09:57:10 -06:00
Jonathan Cousins
a55b0a3006 Use -I instead of -k in network checks 2023-08-14 11:32:22 +01:00
Mentor
ecee736f56 Make updates non-breaking 2023-07-20 13:12:23 +02:00
Mentor
abadee8c14 🔼 bump visudo folder fix 2023-07-20 13:12:23 +02:00
Mentor Palokaj
bbd4d32819 Merge pull request #125 from bjarketrux/main
Battery percentage calculated
v1.1.5
2023-07-20 13:11:08 +02:00
Jonathan Cousins
912ca120dc Use https in network checks
Move from icanhasip.com to icanhazip.com (Cloudflare)
Use https in network checks using the `-k` flag
2023-07-05 15:15:39 +01:00
bjarketrux
4d571f3243 Incremented version number 2023-04-21 12:20:39 +02:00
Mentor Palokaj
79df4af6b7 Merge pull request #126 from GeorgFleig/visudo_fix
Ensure sudoers.d folder for visudo exists
2023-04-21 10:44:20 +02:00
Georg Fleig
67da16b5a3 Ensure sudoers.d folder for visudo exists 2023-04-07 18:19:00 +02:00
Bjarke
d704f8c908 Battery percentage calculated 2023-04-05 15:14:50 +02:00
Mentor Palokaj
6dbd7b4a03 Merge pull request #114 from lephilippe/patch-1
display help message when typing "battery help"
2023-04-03 14:39:54 +02:00
lephilippe
ca1c028b8a incremented cli version 2023-03-27 16:54:20 +02:00
Mentor Palokaj
f601da1cc3 Merge pull request #119 from igorkulman/fix/battery-percentage-icon
Correct way to determine battery percentage icon for the menu tray
2023-03-26 17:34:53 +02:00
Igor Kulman
f6d56e6a30 Simpler way to get the best battery percentage 2023-03-23 09:19:25 +01:00
Igor Kulman
cd2848064b Correct battery percentage sorting when getting the icon 2023-03-23 09:16:39 +01:00
lephilippe
0c109673e4 display help message when typing "battery help" 2023-03-16 12:07:54 +01:00
Mentor
5f5d259667 🐛 Disable -u flag in caffeinate as it can turn on the screen 2023-03-14 21:09:23 +01:00
Mentor
0b7bcd02c0 Allow discharging in GUI 2023-03-13 19:23:43 +01:00
Mentor
eabf3a9b5c Increment CLI v1.1.4-beta v1.1.4 2023-03-13 19:17:13 +01:00
Mentor
0abd636402 🐛 Pass subsetting to sync maintainer 2023-03-13 19:08:57 +01:00
Mentor
156e132c52 🐛 fix broken "recover" option introduced by too scrict input validation 2023-03-13 18:01:15 +01:00
Mentor
297df33418 Add help about force discharge 2023-03-13 17:41:53 +01:00
Mentor
a39cb443aa Use sataset's format for the flag, it is nicer 2023-03-13 17:40:54 +01:00
Mentor
a35157a34d Disable discharge by default 2023-03-13 17:38:30 +01:00
Mentor
60d20dc710 Disable screen caffeination 2023-03-12 22:47:47 +01:00
Mentor
6e6a4d9569 More agressive caffeination 2023-03-12 18:31:02 +01:00
Mentor
1936c45951 Do not await UI call response 2023-03-12 15:04:31 +01:00
Mentor
010eeda093 🎨 add some logging to the cli improvements clemenstyp added v1.1.3 2023-03-12 15:02:47 +01:00
Mentor
b3e268e984 Add uninstall button to GUI 2023-03-12 14:59:19 +01:00
Mentor Palokaj
5f00cb5811 Merge pull request #101 from clemenstyp/patch-1
Remove the regularly appearing notification 'Background Items Added' (introduced in macOS 13 Ventura)
2023-03-12 14:57:11 +01:00
Clemens Eyhoff
84d177b9f1 Incremented battery-cli version to 1.0.3 2023-03-12 00:51:54 +01:00
Clemens Eyhoff
bcb05daaa5 added comment 2023-03-09 07:35:44 +01:00
Clemens Eyhoff
a26600d913 added disable daemon funtion
only disable (instead of remove) daemon on "battery maintain stop"
2023-03-09 07:30:27 +01:00
Clemens Eyhoff
6bf4ac6619 modified create_daemon function
only overwrite the daemon file if it doesn't exist yet or the content changes.
This fixes the often popping up notification 'Background Items Added' (introduced in macOS 13 Ventura)
2023-03-08 10:31:59 +01:00
Mentor Palokaj
36a8f20514 Merge pull request #96 from SomeBdyElse/patch-1
📚 explain the battery visudo command
v1.1.3-beta v1.1.2
2023-03-07 16:30:46 +01:00
Mentor
848ee9ba17 better icon management 2023-03-07 12:26:42 +01:00
Mentor
b8927ec435 icon management 2023-03-07 12:25:58 +01:00
Mentor
77dc7806ff use template images for icon v1.1.1 v1.1.2-beta 2023-03-06 17:15:36 +01:00
Hannes Lau
f777ea72f2 📚 explain the battery visudo command
References:
https://github.com/actuallymentor/battery/issues/38#issuecomment-1356260533
2023-03-04 13:28:56 +01:00
Mentor
e4c4cb62eb Universal callability in setp script 2023-03-01 23:15:35 +01:00
Mentor
d73097c764 Fix smc permission issue at install 2023-03-01 23:15:35 +01:00
Mentor
07f0c1cd0b Fix smc permission issue at install 2023-03-01 23:15:35 +01:00
Mentor Palokaj
373314f988 Merge pull request #92 from GiorgioRen/main
Added checks on user input for maintain action
2023-02-28 12:55:36 +01:00