-
Notifications
You must be signed in to change notification settings - Fork 432
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
Bug: No prompt for keychain on macos #1287
Comments
Did you have this issue prior to your PR for Last.fm #1286 ? I feel like this issue would have shown up earlier. |
@Alipoodle I just started using this project a few days ago at v2 so i can't really say, but it was like that when i installed it. |
@jaredkotoff Did you manually create that entry in the Keychain Access, or was it already existing? I didn't see such an entry named that in my I was expecting when I sign out, then sign back in, that YTMD would write a new value to this entry, but so far, it hasn't. And the Integrations under YTMD Settings still say "This integration cannot be enabled due to safeStorage being unavailable". |
It was already there for me. Just used the search to find it. |
From @cortesi who has provided some helpful information~
|
After borrowing a MacBook from Work I've been able to play and work a bit on the flow and feeling of the MacOS version of the application. First of all F*** Apple...Through the build process they've had a lot of minor little things with Development which have just made the process of developing for it a pain in the butt... Lack of being able to build + test on a "non-mac" device, their model for "broken application" and a few "design choices". With that out the way. The main problem I have found is that the ARM build of the application is a mess and is to the point of not even worth sharing and using the x64 version with Rosetta is a better experience and fully functional (to my knowledge) with the features it needs and doesn't block the ability for SafeStorage in Electron. It seems like there's a problem with how the ARM version of the application~ where in the chain of the application it breaks (Electron, Electron Forge compiling it all or some other thing), it's not going to be a task that can be diagnose by Myself or Novus as neither of us are a primary Mac user and lack of being able to compile & test for it off platform. |
I can sympathize. I use an M1 MacBook Pro as my main computer and am happy to help. I'm not yet familiar with Electron but I do have experience in application development. Do you have a recommendation of where to start looking where the build is failing to meet expected behavior? |
fwiw, I used It makes sense to only offer x64 if it works with secure storage until someone can figure out if there's away to get it to work with ARM And just to note: after manually allowing the app access I don't have issues with being logged out or using the integrations like lastfm, so I think everything is working as it should for me. |
@gotgenes I just saw this and can confirm that the solution works when launching electron from the source code app and manually allowing access. Thanks! |
Ah, that makes sense since I was running from source. |
I wondered the same thing. For reasons I don't yet understand, the answer for me is, "No." Here's the combinations I tried:
Prior to each combination, I deleted the
After launching the x64 artifact, I confirmed there was an entry in the These didn't work. As soon as I launched the arm64 artifact, I was no longer signed in. Signing in the arm64 artifact, then quitting, resulted in me being signed out the next time I launched the arm64 artifact. After wiping everything again, I tried running the source code locally, as described above, and my sign in is preserved again. 🤷♂️ |
Consent
Current Behavior
Open integration settings on macos and lastfm is disabled because of secure storage is not available.
It works with
yarn start
but doesn't work with production app oryarn make
Expected Behavior
The user should be prompted to allow the app access to secure storage for these features.
Steps To Reproduce
Install app
Open app
Open settings
go to integrations
YTMDesktop
v2.0
OS
MacOs
OS Version
14.4
Arch
aarch64
Installation way
drag and drop
Anything else?
I manually approved the app by opening Keychain Access, but this was a hurdle when making #1286
Might be related to: #1186
The text was updated successfully, but these errors were encountered: