Comments (13)
This should now be fixed as of the latest release. Please comment if you are still having issues.
from yubiswitch.
There are a few obstacles here for people who want to build it themselves:
- The submodule for ShortcutRecorder points to a commit no longer available on GitHub. You can check out the submodule and switch to the 2.17.2 tag to work around this.
- You'll need to update the code signing to point at your own certificates (free developer will work but you can't leave it unsigned) and then additionally modify the
yubiswitch/yubiswitch-Info.plist
andyubiswitch.helper/yubiswitch-helper-Info.plist
to match on your certificate. Failure to properly do this will result in helper tool installation failure. - The resulting binary needs to be granted the accessibility permission under System Preferences -> Security & Privacy or else you will get tccd errors or
IOHIDDeviceOpen
will fail in the helper tool.
I've also fixed a few other things in my local branch, but I am not typically a macOS dev so it's not clear to me how you would make the project generic enough for users to do this on their own (or even set up GHA with the right certificates to be able to automatically build and release). That said, it can work and my personal copy is now a universal build.
from yubiswitch.
Oh, one other item I forgot to note: the new image assets for the menu item don't appear to scale properly. I'm not sure if this is because there hasn't been a release since they were upgraded a few years ago or if there's some unusual Xcode bug, but to make everything scale properly I had to rescale all the 1x images to 22px high, 2x to 44px, and 3x to 66px.
from yubiswitch.
@pallotron Did you get your new M1 laptop? π
from yubiswitch.
I did get it but I don't have much time. I will try to compile a new release when I am back from holidays (mid July)
from yubiswitch.
For many FOSS projects, one can just do a PR. As long it is not ready or if one wants to avoid it getting merged too early, one can do a draft PR.
Doing that early is usually a good and comfortable way to get feedback and for the project maintainers it is much better to review a PR than stuff on pastebins or so.
from yubiswitch.
hello,
the code is accessible to the world, you can build your own binary with Xcode, I do not own a M1 laptop, and I don't want to pay 90EUR license to just build and sign the binary. :)
I am probably getting a M1 laptop in January and I can try to do that but no guarantees :)
from yubiswitch.
Thanks, mate! I have tried building it with Xcode myself, but I have not been able to, even after spending some time. I completely agree with the license. Also, if you are able to cross compile in Xcode and publish here, it does not need to be signed, we can still allow unsigned binaries to run. I will try further to build it myself when I get some time.
from yubiswitch.
Preferably new releases could be universal binaries, supporting both intel and apple silicon in a single binary.
from yubiswitch.
I've also fixed a few other things in my local branch
@reaperhulk care to share the diff on a pastebin or something? I haven't been able to invest any time in this project in the last few years but I might have some time to look into all this in 2022 as I get a new M1 laptop.
from yubiswitch.
@pallotron I can push it to a fork so you can look at the diff at your leisure (here: https://github.com/pallotron/yubiswitch/compare/master...reaperhulk:updates?expand=1) Some of the things I've changed I'm not confident are fully correct, which is why I've hesitated to send a PR. π
from yubiswitch.
@pallotron Did you get your new M1 laptop? π
Friendly ping, any chance to look over @reaperhulk 's PR and build new binaries on an M1?
from yubiswitch.
Just tested it and it works just fine! Thanks!
from yubiswitch.
Related Issues (20)
- evgtlindvjiublvjfeiikdhkhgcteeugrivh
- inadvertently opened issue - ignore
- "Automatically switch off Yubikey" turns on Yubikey after lockscreen HOT 2
- ccccccvkvhhejrinvubnvdlnbthrrtvuvgcvffnthtgf HOT 2
- Feature Request: Allow multiple productID/vendorID pairs HOT 1
- Support for Yubikey 5C HOT 1
- menu bar icon is always black, hard to see on dark backgrounds HOT 1
- eieecchrvjhbgbgnjftcbkefbcghkttelnelincbkjbk HOT 4
- Global hotkey doesn't respect different keyboard layouts, only QWERTY HOT 2
- App is not notarized HOT 4
- YubiSwitch not disabling Yubikey nano on macOS 12.6 HOT 7
- yubikey is not disabled automatically HOT 7
- Doesn't work for my yubico on MacOS Monterrey HOT 11
- "Input Monitoring" permission required HOT 7
- XPC error: Connection invalid HOT 1
- [MISTAKE]
- Sonoma Bug: Enabled Yubiswitch menubar icon is 10x size HOT 7
- ProductID and VendorId are read only. Unable to update them
- Dialog on every startup βyubiswitch is trying to install a new helper tool.β 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 yubiswitch.