Originally created by @twio142 on GitHub (Sep 29, 2021).
I'd like to change the charge limit value not just through clicking on the menu bar, but some terminal or AppleScript command.
I tried to edit the preference plist file: defaults write com.apphousekitchen.aldente-pro chargeVal 100
But when the plist file is modified, after restarting the app, it automatically changes the charge value back to 80.
Originally created by @twio142 on GitHub (Sep 29, 2021).
I'd like to change the charge limit value not just through clicking on the menu bar, but some terminal or AppleScript command.
I tried to edit the preference plist file: `defaults write com.apphousekitchen.aldente-pro chargeVal 100`
But when the plist file is modified, after restarting the app, it automatically changes the charge value back to 80.
I just figured out that you need to specify the type of data as integer when writing to the plist file... 😅
So defaults write com.apphousekitchen.aldente-pro chargeVal -int 100 works.
@twio142 commented on GitHub (Dec 7, 2021):
I just figured out that you need to specify the type of data as integer when writing to the plist file... 😅
So `defaults write com.apphousekitchen.aldente-pro chargeVal -int 100` works.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @twio142 on GitHub (Sep 29, 2021).
I'd like to change the charge limit value not just through clicking on the menu bar, but some terminal or AppleScript command.
I tried to edit the preference plist file:
defaults write com.apphousekitchen.aldente-pro chargeVal 100But when the plist file is modified, after restarting the app, it automatically changes the charge value back to 80.
@twio142 commented on GitHub (Dec 7, 2021):
I just figured out that you need to specify the type of data as integer when writing to the plist file... 😅
So
defaults write com.apphousekitchen.aldente-pro chargeVal -int 100works.