diff --git a/README.md b/README.md index 455c4c1..b5b4fb8 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/Products/usr/local/bin/smcutil). The source code for `smcutil` is also available there. +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. ## Releases diff --git a/src/Charge Limiter.app/Contents/Info.plist b/src/Charge Limiter.app/Contents/Info.plist index a33f41c..723827f 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 + 419 256 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..61b78cd 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..30914ae 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/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 index d3ceee6..0eb5a88 100755 Binary files a/src/Charge Limiter.app/Contents/Resources/smcutil and b/src/Charge Limiter.app/Contents/Resources/smcutil differ diff --git a/src/Charge Limiter.app/Contents/_CodeSignature/CodeResources b/src/Charge Limiter.app/Contents/_CodeSignature/CodeResources new file mode 100644 index 0000000..bd50bf6 --- /dev/null +++ b/src/Charge Limiter.app/Contents/_CodeSignature/CodeResources @@ -0,0 +1,192 @@ + + + + + files + + Resources/Scripts/main.scpt + + gV0hmyTWZkNkR8Xx++YxWr0WG04= + + Resources/applet.icns + + sINd6lbiqHD5dL8c6u79cFvVXhw= + + Resources/applet.rsrc + + HDKLdsqT9cm9wBeKQeF1Gb+1mM0= + + Resources/description.rtfd/TXT.rtf + + ZNlmbZciELBioKphPqoFPT5NHno= + + Resources/smcutil + + fIvbdO8KoSrVplhupWn8PzD1LVQ= + + + files2 + + Resources/Scripts/main.scpt + + hash + + gV0hmyTWZkNkR8Xx++YxWr0WG04= + + hash2 + + Dz8FcQRNpmlfMv72eOGSCw0o7vOVaT/Cq4vHA3r1F0U= + + + Resources/applet.icns + + hash + + sINd6lbiqHD5dL8c6u79cFvVXhw= + + hash2 + + J7weZ6vlnv9r32tS5HFcyuPXl2StdDnfepLxAixlryk= + + + Resources/applet.rsrc + + hash + + HDKLdsqT9cm9wBeKQeF1Gb+1mM0= + + hash2 + + IcqPVwqEqhY0fdEVQfrLWfo32zLa23RQNuHv679nw60= + + + Resources/description.rtfd/TXT.rtf + + hash + + ZNlmbZciELBioKphPqoFPT5NHno= + + hash2 + + 41OWIJNhwmBB9SfzNZViDvpRnpOlsYF/ASeHnnUXLiY= + + + Resources/smcutil + + hash + + fIvbdO8KoSrVplhupWn8PzD1LVQ= + + hash2 + + RyuQ39vGM6FnXT9f8HclhVPI/ZS8qthdE3Insuhdc08= + + + + rules + + ^Resources/ + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^Resources/ + + weight + 20 + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + +