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

I'm not really understanding how to use the JSON file #64

Open
yurisilpess opened this issue Jul 12, 2022 · 3 comments
Open

I'm not really understanding how to use the JSON file #64

yurisilpess opened this issue Jul 12, 2022 · 3 comments

Comments

@yurisilpess
Copy link

yurisilpess commented Jul 12, 2022

Screen Shot 2022-07-12 at 12 22 10

I have this folder and the json file I created using VS Code. I put the code for the appearance-changing wallpaper:
Screen Shot 2022-07-12 at 12 29 16
what should I do now? Whenever I try to use the wallpapper -i command the json file isn't recognized. I need help

@mczachurski
Copy link
Owner

mczachurski commented Jul 13, 2022

Hi,

Now you have to execute command: wallpapper -i wallpaper.json.

@yurisilpess
Copy link
Author

Thank you for replying.
Now I get this error: Reading JSON file: 'file:///Users/YuriSP/wallpaper.json'...Error: Unexpected error occurs: Error Domain=NSCocoaErrorDomain Code=260 "The file “wallpaper.json” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/YuriSP/wallpaper.json, NSUnderlyingError=0x600001d74a20 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

@mczachurski
Copy link
Owner

You have to execute that command in folder where the wallpaper.json is, or you have to specify full path to that file.

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