diff --git a/README.md b/README.md index b94c8bc..5ab93c6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This app modifies a parameter called `BCLM` (presumably "Battery Charge Level Ma The source code can be viewed by opening `src/Charge Limiter.app` in Apple's Script Editor. It is written in Javascript Application Scripting (or JXA). -The companion `smcutil` binary (located under `src/Charge Limiter.app/Contents/Resources`) was copied from [this repository](https://github.com/sicreative/BatteryStatusShow/blob/master/BatteryStatusShow/smcutil). The source code for `smcutil` is also available there. +The companion `bclm` binary (located under `src/Charge Limiter.app/Contents/Resources`) was copied from [this repository](https://github.com/zackelia/bclm). The source code for `bclm` is also available there. ## Releases @@ -18,7 +18,7 @@ Download the latest version from the [releases](https://github.com/godly-devotio When trying to open the app for the first time, Gatekeeper will prevent you from doing so because the app is not code signed. In order to bypass this warning, you need to right-click on the app and select "Open". You will have to do this twice in order to get the option to open the app. -If you wish to fully charge the battery again, set the charge limit to "100". The app itself does not install anything so if you do not need it anymore you can safely move it to the trash. +After setting a charge limit, the app will silently run and reapply the desired charge level again if you restart your Mac. If you wish to fully charge the battery again, set the charge limit to "100". This will also remove the charge limit persistency on boot. Afterwards, if you do not need the app anymore you can safely move it to the trash. ## Updates diff --git a/src/Charge Limiter.app/Contents/Info.plist b/src/Charge Limiter.app/Contents/Info.plist index 86fab85..191d398 100644 --- a/src/Charge Limiter.app/Contents/Info.plist +++ b/src/Charge Limiter.app/Contents/Info.plist @@ -56,7 +56,7 @@ bundleDividerCollapsed bundlePositionOfDivider - 1025 + 1010 dividerCollapsed eventLogLevel @@ -66,7 +66,7 @@ positionOfDivider 468 savedFrame - 349 286 1274 693 0 0 1920 1177 + 349 285 1274 693 0 0 1920 1175 selectedTab log diff --git a/src/Charge Limiter.app/Contents/MacOS/applet b/src/Charge Limiter.app/Contents/MacOS/applet index 1ace4ca..a4dd525 100755 Binary files a/src/Charge Limiter.app/Contents/MacOS/applet and b/src/Charge Limiter.app/Contents/MacOS/applet differ diff --git a/src/Charge Limiter.app/Contents/Resources/Scripts/main.scpt b/src/Charge Limiter.app/Contents/Resources/Scripts/main.scpt index a42efef..61a2951 100644 Binary files a/src/Charge Limiter.app/Contents/Resources/Scripts/main.scpt and b/src/Charge Limiter.app/Contents/Resources/Scripts/main.scpt differ diff --git a/src/Charge Limiter.app/Contents/Resources/bclm b/src/Charge Limiter.app/Contents/Resources/bclm new file mode 100755 index 0000000..fa9e6cb Binary files /dev/null and b/src/Charge Limiter.app/Contents/Resources/bclm differ diff --git a/src/Charge Limiter.app/Contents/Resources/description.rtfd/TXT.rtf b/src/Charge Limiter.app/Contents/Resources/description.rtfd/TXT.rtf index a38ebce..5fe9fa7 100644 --- a/src/Charge Limiter.app/Contents/Resources/description.rtfd/TXT.rtf +++ b/src/Charge Limiter.app/Contents/Resources/description.rtfd/TXT.rtf @@ -1,5 +1,5 @@ -{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf600 -{\fonttbl} +{\rtf1\ansi\ansicpg1252\cocoartf2580 +\cocoatextscaling0\cocoaplatform0{\fonttbl} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} } \ No newline at end of file diff --git a/src/Charge Limiter.app/Contents/Resources/smcutil b/src/Charge Limiter.app/Contents/Resources/smcutil deleted file mode 100755 index 0eb5a88..0000000 Binary files a/src/Charge Limiter.app/Contents/Resources/smcutil and /dev/null differ