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

Defaults writing to unexpected key #85

Open
LiamKearn opened this issue Jul 16, 2022 · 3 comments
Open

Defaults writing to unexpected key #85

LiamKearn opened this issue Jul 16, 2022 · 3 comments

Comments

@LiamKearn
Copy link

LiamKearn commented Jul 16, 2022

Sorry for question I could probably answer with a bit of a better look.

When I run defaults export org.dmarcotte.Easy-Move-Resize - I don't get as many KVs as I expected.

I can see in the codebase the app uses the userDefaults interface. I have never touched objective C but my assumption is that I should be able to see all of those properties with defaults?

Thanks for the awesome application btw. It's awesome to see people bringing good old nix customisation to darwin :)

@LiamKearn
Copy link
Author

Yeah seems to mention it here.

This functionality doesn't seem to be working for me.

@dmarcotte
Copy link
Owner

Hey @LiamKearn, had a look at this, and it seems we're writing to a defaults key called userPrefs by accident rather than the intended (and better scoped) org.dmarcotte.Easy-Move-Resize. Try out defaults read userPrefs on the command line to see.

Looks like it's been like this for 5 years, so I wonder if it's worth updating...

@dmarcotte dmarcotte changed the title Defaults Defaults writing to unexpected key Aug 16, 2022
@LiamKearn
Copy link
Author

Woo that is quite generic. Don't have my head in the apple ecosystem but I can imagine migrating something as universal as prefs & bundle ids could cause some issues.

I'm happy for now since my userPrefs is just this awesome app, Thanks!

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

No branches or pull requests

2 participants