Comments (11)
Hi @Qetesh, I'm using macOS Sonoma 14.5, the latest version apparently. Thanks.
from extensions.
Thank you for opening this issue!
🔔 @Qetesh you might want to have a look.
💡 Author and Contributors commands
The author and contributors of Qetesh/battery-optimizer
can trigger bot actions by commenting:
@raycastbot close this issue
Closes the issue.@raycastbot rename this issue to "Awesome new title"
Renames the issue.@raycastbot reopen this issue
Reopens the issue.@raycastbot assign me
Assigns yourself to the issue.@raycastbot good first issue
Adds the "Good first issue" label to the issue.@raycastbot keep this issue open
Make sure the issue won't go stale and will be kept open by the bot.
from extensions.
Thank you for using the extension and for your feedback. The extension uses the which
system command to verify the bclm
path. Could you please provide the output of the following command:
zsh -l -c 'which bclm'
This will help me identify the cause of the issue. Thank you!
from extensions.
@Qetesh The output of this command is
/opt/homebrew/bin/bclm
from extensions.
This is the expected result. I tested in a fresh environment, installing only Raycast, Brew, BCLM, and this store extension, and did not encounter any issues. I am still debugging. If possible, please provide any additional executable information. Thank you!
@Qetesh The output of this command is
/opt/homebrew/bin/bclm
from extensions.
I ended up forking the extension in order to try to debug the commandExists
function.
execSync
throws an error only when trying to use bclm
, even with which
command:
10:07:09.698 Error: Command failed: zsh -l -c 'which bclm'
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
at commandExists (/Users/danulqua/.config/raycast/extensions/battery-optimizer/get_battery_threshold.js:37:52)
at confirmAlertBrew (/Users/danulqua/.config/raycast/extensions/battery-optimizer/get_battery_threshold.js:44:8)
at getChargeThreshold (/Users/danulqua/.config/raycast/extensions/battery-optimizer/get_battery_threshold.js:73:29)
at Object.get_battery_threshold_default (/Users/danulqua/.config/raycast/extensions/battery-optimizer/get_battery_threshold.js:87:9)
at QR (/Applications/Raycast.app/Contents/Resources/RaycastNodeExtensions_RaycastNodeExtensions.bundle/Contents/Resources/api/node_modules/@raycast/api/index.js:20:36572)
at KR (/Applications/Raycast.app/Contents/Resources/RaycastNodeExtensions_RaycastNodeExtensions.bundle/Contents/Resources/api/node_modules/@raycast/api/index.js:20:36192)
at MessagePort.<anonymous> (<…>
Also I tried to specify the exact zsh
path, both the /bin/zsh
and /opt/homebrew/bin/zsh
work the same.
Hopefully, it helps.
from extensions.
I have the same issue with my Macbook Pro M3 Pro.
from extensions.
@minikdev I'm also on Apple silicon. What macOS version is it? I'm gonna install it for a test.
from extensions.
MacBook Pro M2 Max
macOS Sonoma 14.5
as well
from extensions.
Thanks for the feedback. I’m on macOS Sonoma 14.5, and it’s working fine. So weird.
During testing, I found that running Raycast with Rosetta 2 on Apple Silicon causes some strange errors. Hope this helps.
from extensions.
Hey guys,
Thanks to VatsalSy for adding PR #13000. If the auto-detect BCLM feature doesn’t work, you can now use the specified path option. We’ve also optimized the execution logic and logging.
from extensions.
Related Issues (20)
- [Raindrop.io] Add support for Vivaldi for "Save Browser Tab" feature HOT 1
- [Next.js Documentation] No documentation HOT 1
- [Google Meet] ... HOT 10
- [YouTube Music] ... HOT 1
- [Apple Reminders] Wrong Date HOT 2
- [Coffee] Countdown HOT 1
- [Clipboard History] Always Pin Today's History To The Top HOT 1
- [Arc] Failed to fetch latest data HOT 1
- Everhour Time Tracking not loading tasks HOT 1
- [YouTube Downloader] ... HOT 2
- Bitwarden unable to log in into the vault HOT 3
- [OBS Control] Toggle Virtual Camera erroring out on OBS 30.2.0 HOT 1
- [Things] Tags not applying to new todo HOT 1
- [Hue] After several changes to mapping of lights to rooms, "Set Scene" crashes in Raycast. "Control Groups" still works. HOT 1
- [SimpleTexOCR] "The maximum number of concurrent requests exceeded, please try again later" HOT 1
- [Time-Traveling World Clock] Add day of the week with Time. HOT 1
- [Time-Traveling World Clock] Add country flag as icon HOT 2
- Figma File Search fails to provide access to raycast HOT 3
- [Incognito Clone] ... HOT 1
- [Arc] Close Windows of Spaces HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extensions.