mczachurski / wallpapper

:computer: Console application for creating dynamic wallpapers for macOS Mojave and newer
MIT License
3.31k stars 137 forks source link

zsh: command not found: wallpapper #41

Closed fuckinalright closed 3 years ago

fuckinalright commented 4 years ago

It always show zsh: command not found: wallpapper

mczachurski commented 4 years ago

Could you provide more information? Which commands do you use and how the logs from these commands looks like?

farseer00 commented 3 years ago

I might be able to provide some insight on this. I am having the same issue. However, I'm on an ARM Mac, so my experience might be a little different. I used the manual install method, since homebrew isn't supported on ARM Macs yet. I'm using macOS Big Sur on an ARM MacBook Air.

After installing Xcode, I was able to run the first three commands without any issues: git clone https://github.com/mczachurski/wallpapper.git cd wallpapper swift build --configuration release

It's the last command that I'm having trouble with. I had to change the command to the following: sudo cp .build/arm64-apple-macosx/release/wallpapper /usr/local/bin

When run, the command shows no errors in Terminal, but shows some interesting output in the system.log (see attached file) system log.txt

I discovered that I can use a workaround by manually locating the wallpapper executable file and executing the following: cd Dynamic_Wallpaper_Folder /Users/mymac/wallpapper/.build/arm64-apple-macosx/release/wallpapper -i wallpapper.json

Using this method generates the output.heic file without any problems.

Hope this helps.

mczachurski commented 3 years ago

Cannot reproduce the bug. If it still occurs please add a new bug.