remembering if bluetooth was on/off prior to sleep/shutdown
I love this app. However, the fact that it turns the Bluetooth on every time I wake it up from sleep even though it was off prior to sleep, is very annoying. Also, I do not think the app should turn on Bluetooth when it is launched, but only on the events it is supposed to.
Since there is no issues tab here (no clue why) I thought I could implement the feature and do a pull request. Feel free to change my implementation, it is just an idea.
This looks like a great improvement @utkuaydn. Since it is unfortunately looking like this PR hasn't been noticed by the author, is there any chance you can release a binary with this improvement in your forked repo? Thank you!
@stefansundin unfortunately I do not have an Apple Developer account, and the OS won't run unsigned binaries. You are welcome to try though :)
Oh, you can definitely run unsigned binaries, macOS just makes it annoyingly hard. It isn't that hard once you've tried it once.
Here's how:
- https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac
- https://www.howtogeek.com/205393/gatekeeper-101-why-your-mac-only-allows-apple-approved-software-by-default/
Compilation instructions:
brew install carthage
git clone https://github.com/odlp/bluesnooze
cd bluesnooze
carthage bootstrap
Then open in Xcode and set Code Signing team ID to None. Archive and export the app. Finally, ad-hoc sign while keeping entitlements:
codesign -s - --continue -f --no-strict --preserve-metadata=entitlements Bluesnooze.app
Built: Bluesnooze.app.zip
@ViRb3 When I attempt to run that I get this warning: Bluesnooze.app is damaged and can't be opened. You should move it to the Trash.
I just opened https://github.com/odlp/bluesnooze/pull/16 which is this change plus another change I did. I also provide a build here: https://github.com/stefansundin/bluesnooze/releases
The build is not signed so there are instructions (with screenshots) on how to bypass Gatekeeper. Enjoy.
My bad, fixed and updated link. It's still self-signed, so Gatekeeper bypass is necessary (for anyone unsure, ask Google).