mosen / mysides

A command line application for managing OS X Finder sidebar favourites
MIT License
226 stars 29 forks source link

Exit Code when Adding Sidebar Item Doesn't Produce a 0 ... #9

Closed apizz closed 7 years ago

apizz commented 7 years ago

I was working on scripting something for our users when they login for the first time, but for some reason even though I get an "Added sidebar item with name XXXX" message after adding a sidebar item, the resulting exit code is a 1 and not a 0 indicating success. But the item is clearly in the sidebar.

I checked doing this manually via the command line as well with the following: mysides add example file:///Volumes/example and I get the same exit code of 1.

I can confirm however that when I run a mysides remove the exit code is 0.

mosen commented 7 years ago

Fixed and tagged as v1.0.1. Uploading a pkg.

apizz commented 7 years ago

Thank you thank you! That was fast. Much appreciated @mosen