Skip to content

Commit

Permalink
README.md: app is now code signed & notarized
Browse files Browse the repository at this point in the history
  • Loading branch information
godly-devotion committed Jan 3, 2023
1 parent b8c44cd commit 3183664
Show file tree
Hide file tree
Showing 6 changed files with 196 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: godly-devotion
liberapay: joshuapark
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Download the latest version from the [releases](https://github.com/godly-devotio

## Running

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.

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.

If you are running macOS High Sierra (10.13) or older, you may need to install [Swift 5 Runtime Support](https://support.apple.com/kb/dl1998?locale=en_US).
Expand Down
4 changes: 2 additions & 2 deletions src/Charge Limiter.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.5</string>
<string>1.5.1</string>
<key>CFBundleSignature</key>
<string>aplt</string>
<key>LSMinimumSystemVersionByArchitecture</key>
Expand Down Expand Up @@ -66,7 +66,7 @@
<key>positionOfDivider</key>
<real>468</real>
<key>savedFrame</key>
<string>349 285 1274 693 0 0 1920 1175 </string>
<string>352 251 1274 693 0 0 1920 1055 </string>
<key>selectedTab</key>
<string>log</string>
</dict>
Expand Down
Binary file modified src/Charge Limiter.app/Contents/MacOS/applet
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{\rtf1\ansi\ansicpg1252\cocoartf2580
{\rtf1\ansi\ansicpg1252\cocoartf2707
\cocoatextscaling0\cocoaplatform0{\fonttbl}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
Expand Down
192 changes: 192 additions & 0 deletions src/Charge Limiter.app/Contents/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Resources/Scripts/main.scpt</key>
<data>
YFYr2Y2lMi2838RdKpmjOqINLC4=
</data>
<key>Resources/applet.icns</key>
<data>
sINd6lbiqHD5dL8c6u79cFvVXhw=
</data>
<key>Resources/applet.rsrc</key>
<data>
HDKLdsqT9cm9wBeKQeF1Gb+1mM0=
</data>
<key>Resources/bclm</key>
<data>
bxB7pPV4pQBSQa7xZUU91ncAd0s=
</data>
<key>Resources/description.rtfd/TXT.rtf</key>
<data>
az5HOo7xSqitrITB2ilUsi6BiUw=
</data>
</dict>
<key>files2</key>
<dict>
<key>Resources/Scripts/main.scpt</key>
<dict>
<key>hash</key>
<data>
YFYr2Y2lMi2838RdKpmjOqINLC4=
</data>
<key>hash2</key>
<data>
Sx6dRL/9XmUz4mtjz4Aw0f11ZEiwLxB+soAwb2nfAnI=
</data>
</dict>
<key>Resources/applet.icns</key>
<dict>
<key>hash</key>
<data>
sINd6lbiqHD5dL8c6u79cFvVXhw=
</data>
<key>hash2</key>
<data>
J7weZ6vlnv9r32tS5HFcyuPXl2StdDnfepLxAixlryk=
</data>
</dict>
<key>Resources/applet.rsrc</key>
<dict>
<key>hash</key>
<data>
HDKLdsqT9cm9wBeKQeF1Gb+1mM0=
</data>
<key>hash2</key>
<data>
IcqPVwqEqhY0fdEVQfrLWfo32zLa23RQNuHv679nw60=
</data>
</dict>
<key>Resources/bclm</key>
<dict>
<key>hash</key>
<data>
bxB7pPV4pQBSQa7xZUU91ncAd0s=
</data>
<key>hash2</key>
<data>
gOXGWhN7RHeEL0WeOpiTHCzx8LWNz3JxDzme5AqmDdU=
</data>
</dict>
<key>Resources/description.rtfd/TXT.rtf</key>
<dict>
<key>hash</key>
<data>
az5HOo7xSqitrITB2ilUsi6BiUw=
</data>
<key>hash2</key>
<data>
6H0WtRqh/VXxGwrTsCPp9aKTZZ0IMHL365oDDlsgmFU=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^Resources/</key>
<true/>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>

0 comments on commit 3183664

Please sign in to comment.