diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8bfaac4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# OS generated files # +###################### +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db diff --git a/src/charge-limiter.app/Contents/Info.plist b/src/charge-limiter.app/Contents/Info.plist new file mode 100644 index 0000000..93e622a --- /dev/null +++ b/src/charge-limiter.app/Contents/Info.plist @@ -0,0 +1,74 @@ + + + + + CFBundleAllowMixedLocalizations + + CFBundleDevelopmentRegion + English + CFBundleExecutable + applet + CFBundleIconFile + applet + CFBundleIdentifier + com.godly-devotion.charge-limiter + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Charge Limiter + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + aplt + LSMinimumSystemVersionByArchitecture + + x86_64 + 10.6 + + LSRequiresCarbon + + NSAppleEventsUsageDescription + This script needs to control other applications to run. + NSAppleMusicUsageDescription + This script needs access to your music to run. + NSCalendarsUsageDescription + This script needs access to your calendars to run. + NSCameraUsageDescription + This script needs access to your camera to run. + NSContactsUsageDescription + This script needs access to your contacts to run. + NSHomeKitUsageDescription + This script needs access to your HomeKit Home to run. + NSMicrophoneUsageDescription + This script needs access to your microphone to run. + NSPhotoLibraryUsageDescription + This script needs access to your photos to run. + NSRemindersUsageDescription + This script needs access to your reminders to run. + NSSiriUsageDescription + This script needs access to Siri to run. + NSSystemAdministrationUsageDescription + This script needs access to administer this system to run. + WindowState + + bundleDividerCollapsed + + bundlePositionOfDivider + 627 + dividerCollapsed + + eventLogLevel + 2 + name + ScriptWindowState + positionOfDivider + 316 + savedFrame + 631 244 926 705 0 0 1920 1177 + selectedTab + description + + + diff --git a/src/charge-limiter.app/Contents/MacOS/applet b/src/charge-limiter.app/Contents/MacOS/applet new file mode 100755 index 0000000..1ace4ca Binary files /dev/null and b/src/charge-limiter.app/Contents/MacOS/applet differ diff --git a/src/charge-limiter.app/Contents/PkgInfo b/src/charge-limiter.app/Contents/PkgInfo new file mode 100644 index 0000000..3253614 --- /dev/null +++ b/src/charge-limiter.app/Contents/PkgInfo @@ -0,0 +1 @@ +APPLaplt \ No newline at end of file diff --git a/src/charge-limiter.app/Contents/Resources/Scripts/main.scpt b/src/charge-limiter.app/Contents/Resources/Scripts/main.scpt new file mode 100644 index 0000000..e2f3116 Binary files /dev/null and b/src/charge-limiter.app/Contents/Resources/Scripts/main.scpt differ diff --git a/src/charge-limiter.app/Contents/Resources/applet.icns b/src/charge-limiter.app/Contents/Resources/applet.icns new file mode 100644 index 0000000..0cdd170 Binary files /dev/null and b/src/charge-limiter.app/Contents/Resources/applet.icns differ diff --git a/src/charge-limiter.app/Contents/Resources/applet.rsrc b/src/charge-limiter.app/Contents/Resources/applet.rsrc new file mode 100644 index 0000000..401fd59 Binary files /dev/null and b/src/charge-limiter.app/Contents/Resources/applet.rsrc 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 new file mode 100644 index 0000000..a38ebce --- /dev/null +++ b/src/charge-limiter.app/Contents/Resources/description.rtfd/TXT.rtf @@ -0,0 +1,5 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf600 +{\fonttbl} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +} \ No newline at end of file diff --git a/src/smcutil b/src/smcutil new file mode 100755 index 0000000..d3ceee6 Binary files /dev/null and b/src/smcutil differ