Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remembering if bluetooth was on/off prior to sleep/shutdown #14

Closed
wants to merge 1 commit into from
Closed

remembering if bluetooth was on/off prior to sleep/shutdown #14

wants to merge 1 commit into from

Conversation

utkuaydn
Copy link

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.

@utkuaydn utkuaydn changed the title remembering if bluetooth was on before sleep/shutdown remembering if bluetooth was on prior to sleep/shutdown Mar 24, 2022
@utkuaydn utkuaydn changed the title remembering if bluetooth was on prior to sleep/shutdown remembering if bluetooth was on/off prior to sleep/shutdown Mar 24, 2022
@stefansundin
Copy link
Contributor

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!

@utkuaydn
Copy link
Author

utkuaydn commented Jun 1, 2022

@stefansundin unfortunately I do not have an Apple Developer account, and the OS won't run unsigned binaries. You are welcome to try though :)

@stefansundin
Copy link
Contributor

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:

@ViRb3
Copy link

ViRb3 commented Aug 12, 2022

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

@stefansundin
Copy link
Contributor

@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 #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.

@ViRb3
Copy link

ViRb3 commented Aug 15, 2022

My bad, fixed and updated link. It's still self-signed, so Gatekeeper bypass is necessary (for anyone unsure, ask Google).

@utkuaydn utkuaydn closed this by deleting the head repository Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants